The Car type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Car |
On construction the physical/collision objects are created, but
not registered
|
Methods
Name | Description | |
---|---|---|
![]() | AddExternalForces |
AddExternalForces
|
![]() | DisableCar |
Remove from the physics system
|
![]() | EnableCar |
Register with physics
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | PostPhysics |
Update stuff at the end of physics
|
![]() | SetupDefaultWheels |
Sets up some sensible wheels based on the chassis
|
![]() | ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() | Accelerate |
Accelerate control - values -1/0 to 1
|
![]() | BWDrive |
Gets or Sets back-wheel drive
|
![]() | Chassis |
Gets or Sets chassis (There will always be a chassis)
|
![]() | FWDrive |
Gets or Sets front-wheel drive
|
![]() | HBrake |
HBrake control - values -1/0 to 1
|
![]() | NumWheelsOnFloor |
Gets count NumWheelsOnFloor
|
![]() | Steer |
Steer control - values -1/0 to 1
|
![]() | Wheels |
Allow access to all the wheels
|