Merge pull request #151 from OogwayUniverse/trigger_fixes

Moonbase fix
This commit is contained in:
Gie "Max" Vanommeslaeghe
2021-12-11 19:39:24 +01:00
committed by GitHub
3 changed files with 21 additions and 0 deletions

View File

@@ -7,6 +7,8 @@
#include "NiQuaternion.h"
#include "tinyxml2.h"
#include "Component.h"
#include "dpCollisionChecks.h"
#include "PhantomPhysicsComponent.h"
class Entity;
class dpEntity;
@@ -218,6 +220,13 @@ public:
*/
bool GetStatic() const { return m_Static; }
/**
* Returns the Physics entity for the component
* @return Physics entity for the component
*/
dpEntity* GetdpEntity() const { return m_dpEntity; }
private:
/**
* The entity that owns this component

View File

@@ -110,6 +110,13 @@ public:
*/
void SetEffectType(uint32_t type);
/**
* Returns the Physics entity for the component
* @return Physics entity for the component
*/
dpEntity* GetdpEntity() const { return m_dpEntity; }
/**
* Spawns an object at each of the vertices for debugging purposes
*/