NTRT Simulator
v1.1
|
#include <tgBoxGround.h>
Classes | |
struct | Config |
Public Member Functions | |
tgBoxGround () | |
tgBoxGround (const tgBoxGround::Config &config) | |
virtual | ~tgBoxGround () |
virtual btRigidBody * | getGroundRigidBody () const |
btCollisionShape *const | getCollisionShape () const |
Protected Attributes | |
btCollisionShape * | pGroundShape |
Simplest ground implementation - a flat box. Can be put at an angle to allow for an incline
Definition at line 47 of file tgBoxGround.h.
tgBoxGround::tgBoxGround | ( | ) |
Default construction that uses the default values of config Sets up a collision object that is stored in the bulletGround object
Definition at line 54 of file tgBoxGround.cpp.
tgBoxGround::tgBoxGround | ( | const tgBoxGround::Config & | config | ) |
Allows a user to specify their own config
Definition at line 63 of file tgBoxGround.cpp.
|
inlinevirtual |
Clean up the implementation. The base class holds nothing.
Definition at line 98 of file tgBoxGround.h.
|
inherited |
Returns a pointer to the collision shape for the list of collision objects in tgWorldBulletPhysicsImpl Collision shape must not be null
Definition at line 48 of file tgBulletGround.cpp.
|
virtual |
Setup and return a return a rigid body based on the collision object
Implements tgBulletGround.
Definition at line 72 of file tgBoxGround.cpp.