#include <boxcollider.h>
Inheritance diagram for oxygen::BoxCollider:
Public Member Functions | |
BoxCollider () | |
void | SetBoxLengths (const salt::Vector3f &extents) |
sets the side lengths of the box geom | |
void | GetBoxLengths (salt::Vector3f &extents) |
gets the side lengths of the box geom | |
float | GetBoxLength (int axis) |
gets the length of on side of the box | |
float | GetPointDepth (const salt::Vector3f &pos) |
returns the depth of the given relative position in the managed box geom. | |
Protected Member Functions | |
virtual bool | ConstructInternal () |
constructs a default box with side lengths of 1 |
Definition at line 32 of file boxcollider.h.
|
Definition at line 28 of file boxcollider.cpp. |
|
constructs a default box with side lengths of 1
Reimplemented from zeitgeist::Object. Definition at line 44 of file boxcollider.cpp. References zeitgeist::Object::ConstructInternal(), and oxygen::Collider::mODEGeom. Here is the call graph for this function: ![]() |
|
gets the length of on side of the box
Definition at line 68 of file boxcollider.cpp. References GetBoxLengths(). Here is the call graph for this function: ![]() |
|
gets the side lengths of the box geom
Definition at line 58 of file boxcollider.cpp. References oxygen::Collider::mODEGeom. Referenced by GetBoxLength(). |
|
returns the depth of the given relative position in the managed box geom. Points inside the geom will have positive depth, points outside it will have negative depth, and points on the surface will have zero depth. Definition at line 84 of file boxcollider.cpp. References oxygen::BaseNode::GetWorldTransform(), and oxygen::Collider::mODEGeom. Here is the call graph for this function: ![]() |
|
sets the side lengths of the box geom
Definition at line 33 of file boxcollider.cpp. References oxygen::Collider::mODEGeom. |