Search found 16 matches

by elhim
Tue Jul 06, 2004 11:04 pm
Forum: Advanced Help
Topic: collision detection
Replies: 5
Views: 887

by elhim
Sat Jun 05, 2004 3:30 am
Forum: Beginners Help
Topic: Comparing points
Replies: 6
Views: 524

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...
by elhim
Sun May 30, 2004 5:44 pm
Forum: Open Discussion and Dev Announcements
Topic: proposition of API change (addAnimator in particular)
Replies: 4
Views: 731

oh, good idea. and there could be two versions of the function, one with the parameter, one without. want me to write a patch (for 0.6 obviously)? but there seem to be some other bugs with multiple animators which i haven't looked at much, but i sure will after this gets fixed
by elhim
Mon May 24, 2004 3:24 am
Forum: Open Discussion and Dev Announcements
Topic: proposition of API change (addAnimator in particular)
Replies: 4
Views: 731

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 ...
by elhim
Thu Apr 08, 2004 1:56 am
Forum: Bug reports
Topic: multiple animators problem
Replies: 5
Views: 2351

this 0.6 on linux, btw.
the other problem that i said might be my own bug is that the collision animator sometimes stops the previously added animtors from moving. anybody had that problem?
by elhim
Thu Apr 08, 2004 1:33 am
Forum: Bug reports
Topic: multiple animators problem
Replies: 5
Views: 2351

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....
by elhim
Tue Apr 06, 2004 5:18 pm
Forum: Beginners Help
Topic: Which 3D modelers do you prefer and why?
Replies: 17
Views: 1704

any of you guys use blender?
by elhim
Sat Apr 03, 2004 6:29 am
Forum: Beginners Help
Topic: yet another request to clarify collision
Replies: 3
Views: 514

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...
by elhim
Sat Mar 27, 2004 6:59 am
Forum: Beginners Help
Topic: Infinite rotation
Replies: 4
Views: 515

but if you rotate it every frame the rotation speed depends directly on the FPS. so is you have variable fps, you'll have variable rotation speeds. unless that's okay with you, i think this needs a rotation animator, which doesn't exist.
by elhim
Thu Mar 25, 2004 8:54 pm
Forum: Beginners Help
Topic: yet another request to clarify collision
Replies: 3
Views: 514

is my question stupid or nobody can answer it?
by elhim
Thu Mar 25, 2004 5:09 pm
Forum: Beginners Help
Topic: trouble finding angle between vectors and rotating
Replies: 6
Views: 1191

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...
by elhim
Thu Mar 25, 2004 3:38 am
Forum: Beginners Help
Topic: yet another request to clarify collision
Replies: 3
Views: 514

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...
by elhim
Thu Mar 25, 2004 1:24 am
Forum: Beginners Help
Topic: trouble finding angle between vectors and rotating
Replies: 6
Views: 1191

fixed now :D
funny how you can battle with something for more than 24 hours and then find the sollution in 10 minutes. sorry for the spam
by elhim
Thu Mar 25, 2004 1:18 am
Forum: Beginners Help
Topic: trouble finding angle between vectors and rotating
Replies: 6
Views: 1191

found one problem. i'm finding the length of the from vector instead of the displacement one. but one problem no is that if i click in the 3rd and 4th quadrants of the X-Z plain with the origin at the current position of the model my rotation is also funny - the model faces the direction sideways.
by elhim
Thu Mar 25, 2004 1:11 am
Forum: Beginners Help
Topic: trouble finding angle between vectors and rotating
Replies: 6
Views: 1191

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