|
| | BoxCollider (PhysicsBodyComponent *owner, const vector3 &ext, Ref< PhysicsMaterial > mat, const vector3 &position=vector3(0, 0, 0), const quaternion &rotation=quaternion(1.0, 0.0, 0.0, 0.0)) |
| |
| void | DebugDraw (RavEngine::DebugDrawer &dbg, color_t, const RavEngine::Transform &) const override |
| |
|
void | UpdateFilterData (PhysicsBodyComponent *owner) |
| |
| void | SetType (CollisionType) |
| |
| CollisionType | GetType () const |
| |
| void | SetQueryable (bool) |
| |
| bool | GetQueryable () const |
| |
| void | SetRelativeTransform (const vector3 &position, const quaternion &rotation) |
| |
| Transformation | GetRelativeTransform () const |
| |
◆ BoxCollider()
Create a box collider with an extent and a physics material
- Parameters
-
| ext | the dimensions of the collider |
| mat | the physics material to assign |
- Note
- The current scale of the transform is assumed to be the identity size for ResizeToFit.
◆ DebugDraw()
Draw a wireframe shape representing the boundary of this collider
- Parameters
-
| color | the hex color to use to draw, in format 0xRRGGBBAA |
Reimplemented from RavEngine::PhysicsCollider.
The documentation for this class was generated from the following files: