Jolt Physics
A multi core friendly Game Physics Engine
|
Runtime data for interface that controls acceleration / deceleration of the vehicle. More...
#include <VehicleController.h>
Public Member Functions | |
JPH_OVERRIDE_NEW_DELETE | VehicleController (VehicleConstraint &inConstraint) |
Constructor / destructor. | |
virtual | ~VehicleController ()=default |
VehicleConstraint & | GetConstraint () |
Access the vehicle constraint that this controller is part of. | |
const VehicleConstraint & | GetConstraint () const |
Public Member Functions inherited from NonCopyable | |
NonCopyable ()=default | |
NonCopyable (const NonCopyable &)=delete | |
void | operator= (const NonCopyable &)=delete |
Protected Member Functions | |
virtual Wheel * | ConstructWheel (const WheelSettings &inWheel) const =0 |
virtual bool | AllowSleep () const =0 |
virtual void | PreCollide (float inDeltaTime, PhysicsSystem &inPhysicsSystem)=0 |
virtual void | PostCollide (float inDeltaTime, PhysicsSystem &inPhysicsSystem)=0 |
virtual bool | SolveLongitudinalAndLateralConstraints (float inDeltaTime)=0 |
virtual void | SaveState (StateRecorder &inStream) const =0 |
virtual void | RestoreState (StateRecorder &inStream)=0 |
virtual void | Draw (DebugRenderer *inRenderer) const =0 |
Protected Attributes | |
VehicleConstraint & | mConstraint |
The vehicle constraint we belong to. | |
Friends | |
class | VehicleConstraint |
Runtime data for interface that controls acceleration / deceleration of the vehicle.
|
inlineexplicit |
Constructor / destructor.
|
virtualdefault |
|
protectedpure virtual |
Implemented in TrackedVehicleController, and WheeledVehicleController.
|
protectedpure virtual |
Implemented in TrackedVehicleController, and WheeledVehicleController.
|
protectedpure virtual |
Implemented in MotorcycleController, TrackedVehicleController, and WheeledVehicleController.
|
inline |
Access the vehicle constraint that this controller is part of.
|
inline |
|
protectedpure virtual |
Implemented in TrackedVehicleController, and WheeledVehicleController.
|
protectedpure virtual |
Implemented in MotorcycleController, TrackedVehicleController, and WheeledVehicleController.
|
protectedpure virtual |
Implemented in MotorcycleController, TrackedVehicleController, and WheeledVehicleController.
|
protectedpure virtual |
Implemented in MotorcycleController, TrackedVehicleController, and WheeledVehicleController.
|
protectedpure virtual |
Implemented in MotorcycleController, TrackedVehicleController, and WheeledVehicleController.
|
friend |
|
protected |
The vehicle constraint we belong to.