The Car type exposes the following members.

Constructors

  NameDescription
Public methodCar
On construction the physical/collision objects are created, but not registered

Methods

  NameDescription
Public methodAddExternalForces
AddExternalForces
Public methodDisableCar
Remove from the physics system
Public methodEnableCar
Register with physics
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPostPhysics
Update stuff at the end of physics
Public methodSetupDefaultWheels
Sets up some sensible wheels based on the chassis
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAccelerate
Accelerate control - values -1/0 to 1
Public propertyBWDrive
Gets or Sets back-wheel drive
Public propertyChassis
Gets or Sets chassis (There will always be a chassis)
Public propertyFWDrive
Gets or Sets front-wheel drive
Public propertyHBrake
HBrake control - values -1/0 to 1
Public propertyNumWheelsOnFloor
Gets count NumWheelsOnFloor
Public propertySteer
Steer control - values -1/0 to 1
Public propertyWheels
Allow access to all the wheels

See Also