NTRT Simulator
Version: Master
|
#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 44 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 75 of file tgHillyGround.cpp.
tgHillyGround::tgHillyGround | ( | const tgHillyGround::Config & | config | ) |
Allows a user to specify their own config
Definition at line 82 of file tgHillyGround.cpp.
|
virtual |
Clean up the implementation. Deletes m_pMesh
Definition at line 88 of file tgHillyGround.cpp.
|
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 95 of file tgHillyGround.cpp.
btCollisionShape * tgHillyGround::hillyCollisionShape | ( | ) |
Returns the collision shape that forms a hilly ground
Definition at line 125 of file tgHillyGround.cpp.