NTRT Simulator
v1.1
|
#include <tgHillyGround.h>
Classes | |
struct | Config |
Public Member Functions | |
tgHillyGround () | |
tgHillyGround (const tgHillyGround::Config &config) | |
virtual | ~tgHillyGround () |
virtual btRigidBody * | getGroundRigidBody () const |
btCollisionShape * | hillyCollisionShape () |
btCollisionShape *const | getCollisionShape () const |
Protected Attributes | |
btCollisionShape * | pGroundShape |
A "hilly" ground, with randomized hills and valleys
Definition at line 40 of file tgHillyGround.h.
tgHillyGround::tgHillyGround | ( | ) |
Default construction that uses the default values of config Sets up a collision object that is stored in the bulletGround object
Definition at line 74 of file tgHillyGround.cpp.
tgHillyGround::tgHillyGround | ( | const tgHillyGround::Config & | config | ) |
Allows a user to specify their own config
Definition at line 81 of file tgHillyGround.cpp.
|
inlinevirtual |
Clean up the implementation. The base class holds nothing.
Definition at line 106 of file tgHillyGround.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 87 of file tgHillyGround.cpp.
btCollisionShape * tgHillyGround::hillyCollisionShape | ( | ) |
Returns the collision shape that forms a hilly ground
Definition at line 116 of file tgHillyGround.cpp.