#include <raycollider.h>
Inheritance diagram for oxygen::RayCollider:
Public Member Functions | |
RayCollider () | |
void | SetParams (salt::Vector3f pos, salt::Vector3f dir, float length) |
Sets the parameters of the ray. | |
Protected Member Functions | |
virtual bool | ConstructInternal () |
constructs a default ray with a length of 1 |
A ray is different from all the other geom classes in that it does not represent a solid object. It is an infinitely thin line that starts from the geom's position and extends in the direction of the geom's local Z-axis.
Definition at line 37 of file raycollider.h.
|
Definition at line 26 of file raycollider.cpp. |
|
constructs a default ray with a length of 1
Reimplemented from zeitgeist::Object. Definition at line 39 of file raycollider.cpp. References zeitgeist::Object::ConstructInternal(), and oxygen::Collider::mODEGeom. Here is the call graph for this function: ![]() |
|
Sets the parameters of the ray.
Definition at line 31 of file raycollider.cpp. References oxygen::Collider::mODEGeom. |