NTRT Simulator
v1.1
|
#include <tgCraterGround.h>
Classes | |
struct | Config |
Public Member Functions | |
tgCraterGround () | |
tgCraterGround (const tgCraterGround::Config &config) | |
virtual | ~tgCraterGround () |
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 40 of file tgCraterGround.h.
tgCraterGround::tgCraterGround | ( | ) |
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 tgCraterGround.cpp.
tgCraterGround::tgCraterGround | ( | const tgCraterGround::Config & | config | ) |
Allows a user to specify their own config
Definition at line 63 of file tgCraterGround.cpp.
|
inlinevirtual |
Clean up the implementation. The base class holds nothing.
Definition at line 91 of file tgCraterGround.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 tgCraterGround.cpp.