|
| | SphereCollider (PhysicsBodyComponent *owner, decimalType radius, 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 |
| |
|
decimalType | GetRadius () const |
| |
|
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 |
| |
◆ SphereCollider()
Create a sphere collider with a material
- Parameters
-
| r | radius of the collider |
| mat | the physics material of the shape |
| position | the relative position of the shape |
| rotation | the relative rotation of the shape |
◆ 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: