Tramway SDK
actions.h
Go to the documentation of this file.
1// TRAMWAY DRIFT AND DUNGEON EXPLORATION SIMULATOR 2022
2// All rights reserved.
3
4#ifndef PHYSICS_BULLET_ACTIONS_H
5#define PHYSICS_BULLET_ACTIONS_H
6
7#include <btBulletDynamicsCommon.h>
9
10namespace tram::Physics {
11 class PathAction : public btActionInterface {
12 public:
13
15 physcomp = physComponent;
16 }
17
18 virtual void updateAction(btCollisionWorld* collisionWorld, btScalar deltaTimeStep);
19
20 virtual void debugDraw(btIDebugDraw* debugDrawer){}
21
22 private:
23 PhysicsComponent* physcomp = nullptr;
24 };
25}
26
27#endif // PHYSICS_BULLET_ACTIONS_H
Definition: actions.h:11
PathAction(PhysicsComponent *physComponent)
Definition: actions.h:14
virtual void updateAction(btCollisionWorld *collisionWorld, btScalar deltaTimeStep)
virtual void debugDraw(btIDebugDraw *debugDrawer)
Definition: actions.h:20
Definition: physics.h:13
Definition: api.h:10