Search found 8 matches

by NewImage
Tue Apr 21, 2009 5:17 pm
Forum: Beginners Help
Topic: getHorizontalAngle question
Replies: 1
Views: 414

getHorizontalAngle question

Hi

Im trying to set the rotation of a space ship model to that of my camera. Howerver when i try and use getHorizontalAngle and set my model rotation, it makes the wrong side of the model face my target.

Is there a way to change the vector that getHorizontalAngle rotates from (0,0,1) to another ...
by NewImage
Thu Apr 02, 2009 5:29 am
Forum: Beginners Help
Topic: Angle b/t Point and plane
Replies: 3
Views: 334

nox you rock, that worked

thanks
by NewImage
Wed Apr 01, 2009 3:53 am
Forum: Beginners Help
Topic: Angle b/t Point and plane
Replies: 3
Views: 334

Angle b/t Point and plane

HI

I have a point in space, and a plane and im trying to figure out how to find the angle between the two. Not just any angle but the smallest angle.

the plane runs through me, its like seeing a star in the sky and figuring out the angle that star is off the horizon

If i could find the point on ...
by NewImage
Wed Apr 01, 2009 2:44 am
Forum: Advanced Help
Topic: Polar angles to target in 3d space
Replies: 2
Views: 630

the gethorizontlangle() makes the wing of the model point at the target, so when i add 90degrees to the y, it almost points at it, but points slightly above or below it, and it always orients the model with the same side facing up. I think its because my model is not based with the front being on ...
by NewImage
Tue Mar 31, 2009 1:53 am
Forum: Advanced Help
Topic: Polar angles to target in 3d space
Replies: 2
Views: 630

Polar angles to target in 3d space

Hi
I have a 3d model of a jet and a target. My problem is I need to get the angle to the target from the horizon of the 3d model, and need the angle off a vertical plane that cuts the model down the center.
Anyone know how to do this?

I need these 2 angles so I can feed then into a neural network ...
by NewImage
Sun Mar 15, 2009 4:19 am
Forum: Project Announcements
Topic: Neural Network Evolution
Replies: 20
Views: 12644

Hi
Im trying to do the same thing for my class now but im using spaceships in 3d space, What ENN algorithm did you use for that?
by NewImage
Wed Feb 11, 2009 11:43 pm
Forum: Beginners Help
Topic: Rotating a model in 3D space
Replies: 3
Views: 501

Thank you for your reply, ill give that a shot. I have another question, what does absolute mean, I see it in the getrotation and getposition functions, and now in this?
by NewImage
Wed Feb 11, 2009 3:32 am
Forum: Beginners Help
Topic: Rotating a model in 3D space
Replies: 3
Views: 501

Rotating a model in 3D space

Hi
I'm trying to put together a dog fight space game. The spaceship is a IMeshSceneNode But I'm having some problems with rotating in 3D space relative to the object it self.

I was trying to use the code in this topic
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=30707&highlight=rotation ...