Report("Outside trigger area '" + GetName() + "', parent '" + GetParent()->GetName() + "'");
}
+ if (is_inside == true)
+ OnEntry();
+ else
+ OnExit();
+
//get action name of next position state
std::string name = GetPositionAction(GetNextSelectPosition());
Ogre::Vector3 GetMin();
Ogre::Vector3 GetMax();
bool IsOutside(Ogre::Vector3 v1, Ogre::Vector3 v2);
+ virtual void OnEntry() {}
+ virtual void OnExit() {}
private:
Ogre::AxisAlignedBox *area_box;