Search found 4 matches

by scarvenger
Mon Dec 11, 2006 3:00 pm
Forum: Beginners Help
Topic: FlyStraightAnimator (movement stuff in general)
Replies: 8
Views: 829


if (device->getSceneManager()->getSceneCollisionManager()->getCollisionPoint(
line, selector, intersection, tri))
{
animTargetNode->setMD2Animation(scene::EMAT_RUN);
f64 distance = animTargetNode->getPosition().getDistanceFrom(intersection);
intersection.Y = animTargetNode->getPosition().Y ...
by scarvenger
Tue Dec 05, 2006 2:11 am
Forum: Beginners Help
Topic: FlyStraightAnimator (movement stuff in general)
Replies: 8
Views: 829

it seems that it isn´t working, let´s consider that my unit is on a circle. He´s looking to 90 degrees in the circle, when i click for him to walk to 0 degree, he stays looking to 90 degree, if hes looking to 0 degree and i click to 90 degree, it will keep looking to 90, if hes looking to 180 degree ...
by scarvenger
Mon Dec 04, 2006 8:36 pm
Forum: Beginners Help
Topic: FlyStraightAnimator (movement stuff in general)
Replies: 8
Views: 829

1 and 2) Thank you :)
3)How can i explain? Its a odinary situation, i have a unit standing in a place, i pick that unit and tell it to move to position x , but when the unit is moving, the unit isnt facing the place that it is going, it is facing the same place that it was facing before it started ...
by scarvenger
Mon Dec 04, 2006 5:24 pm
Forum: Beginners Help
Topic: FlyStraightAnimator (movement stuff in general)
Replies: 8
Views: 829

FlyStraightAnimator (movement stuff in general)

1)Hi, i am implementing a movement system for a RTS game, i tried to use the function createFlyStraightAnimator but i saw that the animator has to be done within a x time, is there a way to use this animator based on a speed instead of time?
2)Is there a way to know when createFlyStraightAnimator is ...