this is why
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=2050
Search found 16 matches
- Tue Jul 06, 2004 11:04 pm
- Forum: Advanced Help
- Topic: collision detection
- Replies: 5
- Views: 899
- Sat Jun 05, 2004 3:30 am
- Forum: Beginners Help
- Topic: Comparing points
- Replies: 6
- Views: 531
the 3d/vectors part. no knowledge of graphics needed, just some highschool math. but better, grab a book on linear algebra and read the vectors/vector spaces section and you probably won't have any more questions on vectors. about the chase. depends on how realistic you want it to be. if you just wa...
- Sun May 30, 2004 5:44 pm
- Forum: Open Discussion and Dev Announcements
- Topic: proposition of API change (addAnimator in particular)
- Replies: 4
- Views: 740
- Mon May 24, 2004 3:24 am
- Forum: Open Discussion and Dev Announcements
- Topic: proposition of API change (addAnimator in particular)
- Replies: 4
- Views: 740
proposition of API change (addAnimator in particular)
i've struggled a bit with the problem i described earlier here: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=2050 and to avoid further problems i propose separation of ISceneNode::addAnimator() into addAnimator() and addCollisionAnimator(), which would allow storing the collision animator ...
- Thu Apr 08, 2004 1:56 am
- Forum: Bug reports
- Topic: multiple animators problem
- Replies: 5
- Views: 2365
- Thu Apr 08, 2004 1:33 am
- Forum: Bug reports
- Topic: multiple animators problem
- Replies: 5
- Views: 2365
multiple animators problem
the problem comes in when you have a collision animator and some other animator (for example a "fly straight" one). when you add the collision animator first, you have a problem: (*ait)->animateNode(this, timeMs); gets called on the collision animator first and then on the other animators....
- Tue Apr 06, 2004 5:18 pm
- Forum: Beginners Help
- Topic: Which 3D modelers do you prefer and why?
- Replies: 17
- Views: 1756
- Sat Apr 03, 2004 6:29 am
- Forum: Beginners Help
- Topic: yet another request to clarify collision
- Replies: 3
- Views: 520
okay i'm back (vacation!!!!! woooohoooo!!!!!) so. the problem is this: aNode->addAnimator(collisionAnimator); aNode->addAnimator(flyStraightAnimator); - this does not work. it flies straight, but does not collide. another one: aNode->addAnimator(flyStraightAnimator); aNode->addAnimator(collisionAnim...
- Sat Mar 27, 2004 6:59 am
- Forum: Beginners Help
- Topic: Infinite rotation
- Replies: 4
- Views: 528
- Thu Mar 25, 2004 8:54 pm
- Forum: Beginners Help
- Topic: yet another request to clarify collision
- Replies: 3
- Views: 520
- Thu Mar 25, 2004 5:09 pm
- Forum: Beginners Help
- Topic: trouble finding angle between vectors and rotating
- Replies: 6
- Views: 1208
I'll clarify it, in case somebody is interested in the code. The aim of the code is to keep a model facing the direction it's moving in. The final code is: float cos = (to-from).dotProduct(vector3df(100,0,0)) / ((to-from).getLength() * vector3df(100,0,0).getLength()); float angle = (acos(cos) / M_PI...
- Thu Mar 25, 2004 3:38 am
- Forum: Beginners Help
- Topic: yet another request to clarify collision
- Replies: 3
- Views: 520
yet another request to clarify collision
what i have is a model that moves where i click. one thing i see is that if i add a collision animator before the flight animator collision doesn't work. why? if i do it after, the problem is that it doesn't hold untill the next fly straight animator. if i add a collision detector each time i create...
- Thu Mar 25, 2004 1:24 am
- Forum: Beginners Help
- Topic: trouble finding angle between vectors and rotating
- Replies: 6
- Views: 1208
- Thu Mar 25, 2004 1:18 am
- Forum: Beginners Help
- Topic: trouble finding angle between vectors and rotating
- Replies: 6
- Views: 1208
- Thu Mar 25, 2004 1:11 am
- Forum: Beginners Help
- Topic: trouble finding angle between vectors and rotating
- Replies: 6
- Views: 1208
forgot two things
to log in and to specify what the goal of the algorithm is. the goal is to make the model face in the direction it's moving. and for some reason the messages are in reversed order o_0