| Vehicle Constructor |
Initializes a new instance of the
Vehicle class.
Namespace: DigitalRune.Physics.SpecializedAssembly: DigitalRune.Physics.Specialized (in DigitalRune.Physics.Specialized.dll) Version: 1.10.0.0 (1.10.0.0)
Syntax public Vehicle(
Simulation simulation,
RigidBody chassis
)
Public Sub New (
simulation As Simulation,
chassis As RigidBody
)
public:
Vehicle(
Simulation^ simulation,
RigidBody^ chassis
)
new :
simulation : Simulation *
chassis : RigidBody -> Vehicle
Parameters
- simulation
- Type: DigitalRune.PhysicsSimulation
The simulation. - chassis
- Type: DigitalRune.PhysicsRigidBody
The rigid body for the chassis.
Exceptions Remarks
The car will NOT be automatically enabled! The property
Enabled needs to be
set.
See Also