mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:25:52 +02:00
EntityItem::setSimulationState() now public
This commit is contained in:
parent
8966ab32d8
commit
e574c5766b
1 changed files with 1 additions and 7 deletions
|
@ -292,16 +292,10 @@ public:
|
||||||
uint32_t getUpdateFlags() const { return _updateFlags; }
|
uint32_t getUpdateFlags() const { return _updateFlags; }
|
||||||
void clearUpdateFlags() { _updateFlags = 0; }
|
void clearUpdateFlags() { _updateFlags = 0; }
|
||||||
|
|
||||||
#ifdef USE_BULLET_PHYSICS
|
|
||||||
EntityMotionState* getMotionState() const { return _motionState; }
|
|
||||||
virtual EntityMotionState* createMotionState() { return NULL; }
|
|
||||||
void destroyMotionState();
|
|
||||||
#endif // USE_BULLET_PHYSICS
|
|
||||||
SimulationState getSimulationState() const { return _simulationState; }
|
SimulationState getSimulationState() const { return _simulationState; }
|
||||||
|
|
||||||
protected:
|
|
||||||
friend class EntityTree;
|
|
||||||
void setSimulationState(SimulationState state) { _simulationState = state; }
|
void setSimulationState(SimulationState state) { _simulationState = state; }
|
||||||
|
protected:
|
||||||
|
|
||||||
virtual void initFromEntityItemID(const EntityItemID& entityItemID); // maybe useful to allow subclasses to init
|
virtual void initFromEntityItemID(const EntityItemID& entityItemID); // maybe useful to allow subclasses to init
|
||||||
virtual void recalculateCollisionShape();
|
virtual void recalculateCollisionShape();
|
||||||
|
|
Loading…
Reference in a new issue