MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / setWalkDirection

Method setWalkDirection

source/entities/MovableGameEntity.cpp:153–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void MovableGameEntity::setWalkDirection(const Ogre::Vector3& direction)
154{
155 mWalkDirection = direction;
156 if(getIsOnServerMap())
157 return;
158
159 RenderManager::getSingleton().rrOrientEntityToward(this, direction);
160}
161
162void MovableGameEntity::setAnimationState(const std::string& state, bool loop, const Ogre::Vector3& direction, bool playIdleWhenAnimationEnds)
163{

Callers 1

processMessageMethod · 0.80

Calls 1

rrOrientEntityTowardMethod · 0.80

Tested by

no test coverage detected