Tramway SDK
actions.h
Go to the documentation of this file.
1// Tramway Drifting and Dungeon Exploration Simulator SDK Runtime
2
3#ifndef PHYSICS_BULLET_ACTIONS_H
4#define PHYSICS_BULLET_ACTIONS_H
5
6#include <btBulletDynamicsCommon.h>
8
9namespace tram::Physics {
11 class PathAction : public btActionInterface {
12 public:
14 physcomp = physComponent;
15 }
16
17 virtual void updateAction(btCollisionWorld* collisionWorld, btScalar deltaTimeStep);
18
19 virtual void debugDraw(btIDebugDraw* debugDrawer){}
20
21 private:
22 PhysicsComponent* physcomp = nullptr;
23 };
24}
25
26#endif // PHYSICS_BULLET_ACTIONS_H
Definition: actions.h:11
PathAction(PhysicsComponent *physComponent)
Definition: actions.h:13
virtual void updateAction(btCollisionWorld *collisionWorld, btScalar deltaTimeStep)
virtual void debugDraw(btIDebugDraw *debugDrawer)
Definition: actions.h:19
Rigidbody wrapper.
Definition: physics.h:12