integration/gwnavruntimeglue/bulletcollisioninterface/bulletcollisioninterface.h Source File
Go to the documentation of this file.
8 #ifndef KyRuntimeGlue_CollisionInterface_H
9 #define KyRuntimeGlue_CollisionInterface_H
22 class btCollisionWorld;
24 class btBroadphaseInterface;
25 class btCollisionConfiguration;
26 class CollisionInterfaceDebugDraw;
27 class btTriangleIndexVertexArray;
28 class btBvhTriangleMeshShape;
29 class btCollisionObject;
40 virtual KyResult AddCollisionData(Kaim::Ptr<Kaim::CollisionData> collisionData);
43 virtual KyResult RemoveCollisionData(Kaim::Ptr<Kaim::CollisionData> collisionData);
55 KyResult ConvertIndexedMeshToCollisionData(
const Kaim::IndexedMesh& inputMesh, Kaim::Ptr<Kaim::CollisionData> collisionData);
64 btTriangleIndexVertexArray* m_indexVertexArray;
65 btBvhTriangleMeshShape* m_bvhTriMeshShape;
66 btCollisionObject* m_collisionObject;
72 Kaim::Hash<Kaim::CollisionData*, StaticMesh> m_staticMeshes;
73 btCollisionWorld* m_world;
74 btDispatcher* m_dispatcher;
75 btBroadphaseInterface* m_broadphase;
76 btCollisionConfiguration* m_config;
77 CollisionInterfaceDebugDraw* m_debugDraw;
KyInt32 KyResult
Defines a type that can be returned by methods or functions in the Gameware Navigation SDK to indicat...
Definition: types.h:254
The IndexedMesh class represents a 3D Triangle Mesh with Indexing.
Definition: indexedmesh.h:24
#define KY_NULL
Null value.
Definition: types.h:247
Implementation of ICollisionInterface that uses Bullet.
Definition: bulletcollisioninterface.h:32
An abstract interface for an object that can perform collision queries.
Definition: icollisioninterface.h:26
This class is a runtime container for Gameware Navigation WorldElements such as NavData, Bots, BoxObstacles, TagVolumes...
Definition: world.h:54
Heightfield with a uniform grid of sampled altitudes.
Definition: heightfield.h:51
Definition: gamekitcrowddispersion.h:20
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43
This class defines a three-dimensional vector whose coordinates are stored using floating-point numbe...
Definition: vec3f.h:23