Page 1 of 1

A Pitchy Question

Posted: Tue Dec 19, 2006 4:14 pm
by Juutis
How is the value returned by self.enemy_pitch determined?
It seems to be quite inaccurate if the enemy is right next to the pawn. I'm getting numbers near 0 (which is good) when the enemy is far away from the pawn, but as the enemy comes closer, the value returned by self.enemy_pitch is something like -0.8... There's a major difference between the values.
The ground is flat by the way... no slopes or anything.

Does this have something to do with the root bones or something?

Posted: Wed Dec 20, 2006 6:51 pm
by GD1
Yes, actually I think it has something to do with the placement of the Pawn entity itself (the little box that the editor shows you). I could be wrong though, I'm not very good at scripting.