A Pitchy Question

Topics regarding Scripting with Reality Factory
Post Reply
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

A Pitchy Question

Post 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?
Pain is only psychological.
GD1
Posts: 413
Joined: Tue Jul 05, 2005 2:33 pm

Post 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.
Check out my band
Tougher Than Fort Knox
Image
Post Reply