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. More... | |
virtual | ~VehicleController ()=default |
Public Member Functions inherited from RefTarget< VehicleController > | |
RefTarget ()=default | |
Constructor. More... | |
RefTarget (const RefTarget &) | |
~RefTarget () | |
assert no one is referencing us More... | |
void | SetEmbedded () const |
RefTarget & | operator= (const RefTarget &) |
Assignment operator. More... | |
uint32 | GetRefCount () const |
Get current refcount of this object. More... | |
void | AddRef () const |
Add or release a reference to this object. More... | |
void | Release () 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. More... | |
Protected Attributes inherited from RefTarget< VehicleController > | |
atomic< uint32 > | mRefCount |
Current reference count. More... | |
Friends | |
class | VehicleConstraint |
Additional Inherited Members | |
Static Public Member Functions inherited from RefTarget< VehicleController > | |
static int | sInternalGetRefCountOffset () |
INTERNAL HELPER FUNCTION USED BY SERIALIZATION. More... | |
Static Protected Attributes inherited from RefTarget< VehicleController > | |
static constexpr uint32 | cEmbedded |
A large value that gets added to the refcount to mark the object as embedded. More... | |
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.
|
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.