Search found 5 matches
- Sun Nov 30, 2008 2:10 am
- Forum: Bug reports
- Topic: How to make actions such as "die" "pain"
- Replies: 2
- Views: 681
Well, nice to see you again :lol: Thanks for your attention and I've solved it with an imperfect solution. I seted two variables to mark the start time and the time it would last, then check them in while(device->run){}. If current action ends, change Sydney's behaviour or use setCurrentFrame() to k...
- Sat Nov 29, 2008 12:46 am
- Forum: Bug reports
- Topic: How to make actions such as "die" "pain"
- Replies: 2
- Views: 681
How to make actions such as "die" "pain"
I've used setMD2Animation(EMAT_DEATH_FALLBACK)/setMD2Animation(EMAT_PAIN_B) to make it,
but the model would do that again and again.
Then I used setLoopMode(false) and it would do it once, but it ended with the begin frame. The model I used is "sydney".
How can I make it?
but the model would do that again and again.
Then I used setLoopMode(false) and it would do it once, but it ended with the begin frame. The model I used is "sydney".
How can I make it?
- Fri Nov 28, 2008 2:50 pm
- Forum: Beginners Help
- Topic: How to make "FaceTo(vector3df &target)"?
- Replies: 4
- Views: 188
- Fri Nov 28, 2008 2:19 pm
- Forum: Beginners Help
- Topic: How to make "FaceTo(vector3df &target)"?
- Replies: 4
- Views: 188
// Where target and seeker are of type ISceneNode* const vector3df toTarget(target->getAbsolutePosition() - seeker->getAbsolutePosition()); const vector3df requiredRotation = toTarget.getHorizontalAngle(); seeker->setRotation(requiredRotation); Note that getHorizontalAngle() will calculate the requ...
- Fri Nov 28, 2008 1:50 pm
- Forum: Beginners Help
- Topic: How to make "FaceTo(vector3df &target)"?
- Replies: 4
- Views: 188
How to make "FaceTo(vector3df &target)"?
As the title,
I want to rotate my model facing to a target model,
now I know the positions of the two models as vector3df variables,
how to make it?
I'm a beginner, and I am sorry for my poor english
I want to rotate my model facing to a target model,
now I know the positions of the two models as vector3df variables,
how to make it?
I'm a beginner, and I am sorry for my poor english