#include <ugdk/action/3D/physics.h>
ugdk::action::mode3d::Physics::Physics |
( |
const btVector3 & |
grav, |
|
|
Scene3D * |
scene |
|
) |
| |
ugdk::action::mode3d::Physics::~Physics |
( |
| ) |
|
std::forward_list<std::weak_ptr<Element> > ugdk::action::mode3d::Physics::ContactQuery |
( |
short |
collision_groups, |
|
|
const btVector3 & |
pos, |
|
|
double |
radius |
|
) |
| |
Performs a spherical contact/collision query on the physics world, returning a list with the objects in contact (inside the sphere).
bool ugdk::action::mode3d::Physics::debug_draw_enabled |
( |
| ) |
|
If physics debug drawing is enabled. If it is, UGDK will render a wireframe model of the collision objects.
void ugdk::action::mode3d::Physics::set_debug_draw_enabled |
( |
bool |
enable | ) |
|
void ugdk::action::mode3d::Physics::Update |
( |
double |
dt | ) |
|
The documentation for this class was generated from the following file:
- modules/ugdk-3d/include/ugdk/action/3D/physics.h