|
| JPH_OVERRIDE_NEW_DELETE | VehicleCollisionTesterCastSphere (ObjectLayer inObjectLayer, float inRadius, Vec3Arg inUp=Vec3::sAxisY(), float inMaxSlopeAngle=DegreesToRadians(80.0f)) |
| |
| virtual bool | Collide (PhysicsSystem &inPhysicsSystem, const VehicleConstraint &inVehicleConstraint, uint inWheelIndex, RVec3Arg inOrigin, Vec3Arg inDirection, const BodyID &inVehicleBodyID, Body *&outBody, SubShapeID &outSubShapeID, RVec3 &outContactPosition, Vec3 &outContactNormal, float &outSuspensionLength) const override |
| |
| JPH_OVERRIDE_NEW_DELETE | VehicleCollisionTester ()=default |
| | Constructors. More...
|
| |
| | VehicleCollisionTester (ObjectLayer inObjectLayer) |
| |
| virtual | ~VehicleCollisionTester ()=default |
| | Virtual destructor. More...
|
| |
| ObjectLayer | GetObjectLayer () const |
| | Object layer to use for collision detection, this is used when the filters are not overridden. More...
|
| |
| void | SetObjectLayer (ObjectLayer inObjectLayer) |
| |
| void | SetBroadPhaseLayerFilter (const BroadPhaseLayerFilter *inFilter) |
| | Access to the broad phase layer filter, when set this overrides the object layer supplied in the constructor. More...
|
| |
| const BroadPhaseLayerFilter * | GetBroadPhaseLayerFilter () const |
| |
| void | SetObjectLayerFilter (const ObjectLayerFilter *inFilter) |
| | Access to the object layer filter, when set this overrides the object layer supplied in the constructor. More...
|
| |
| const ObjectLayerFilter * | GetObjectLayerFilter () const |
| |
| void | SetBodyFilter (const BodyFilter *inFilter) |
| | Access to the body filter, when set this overrides the default filter that filters out the vehicle body. More...
|
| |
| const BodyFilter * | GetBodyFilter () const |
| |
| virtual bool | Collide (PhysicsSystem &inPhysicsSystem, const VehicleConstraint &inVehicleConstraint, uint inWheelIndex, RVec3Arg inOrigin, Vec3Arg inDirection, const BodyID &inVehicleBodyID, Body *&outBody, SubShapeID &outSubShapeID, RVec3 &outContactPosition, Vec3 &outContactNormal, float &outSuspensionLength) const =0 |
| |
| | 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 |
| |
Collision tester that tests collision using a sphere cast.