|
JPH_OVERRIDE_NEW_DELETE | VehicleCollisionTesterRay (ObjectLayer inObjectLayer, 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 |
|
virtual void | PredictContactProperties (PhysicsSystem &inPhysicsSystem, const VehicleConstraint &inVehicleConstraint, uint inWheelIndex, RVec3Arg inOrigin, Vec3Arg inDirection, const BodyID &inVehicleBodyID, Body *&ioBody, SubShapeID &ioSubShapeID, RVec3 &ioContactPosition, Vec3 &ioContactNormal, float &ioSuspensionLength) const override |
|
JPH_OVERRIDE_NEW_DELETE | VehicleCollisionTester ()=default |
| Constructors.
|
|
| VehicleCollisionTester (ObjectLayer inObjectLayer) |
|
virtual | ~VehicleCollisionTester ()=default |
| Virtual destructor.
|
|
ObjectLayer | GetObjectLayer () const |
| Object layer to use for collision detection, this is used when the filters are not overridden.
|
|
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.
|
|
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.
|
|
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.
|
|
const BodyFilter * | GetBodyFilter () const |
|
| RefTarget ()=default |
| Constructor.
|
|
| RefTarget (const RefTarget &) |
|
| ~RefTarget () |
| assert no one is referencing us
|
|
void | SetEmbedded () const |
|
RefTarget & | operator= (const RefTarget &) |
| Assignment operator.
|
|
uint32 | GetRefCount () const |
| Get current refcount of this object.
|
|
void | AddRef () const |
| Add or release a reference to this object.
|
|
void | Release () const |
|
| NonCopyable ()=default |
|
| NonCopyable (const NonCopyable &)=delete |
|
void | operator= (const NonCopyable &)=delete |
|
Collision tester that tests collision using a raycast.