LocalCenter + Rotation

Topics: Developer Forum, User Forum
Apr 26, 2011 at 6:06 PM

I'm experiancing a problem within my game.
You play a character and you can shoot arrows and magic spells with your character. I've fixed so that the magic spells aren't affected by gravity but the physical ranged attacks ( arrows, throwing knifes etc) are. But i want the arrows to rotate according to direction. Right now im just drawing a texture according to a fixtures position and rotation.
I've tested to set the LocalCenter to the tip of the arrow but it still doesnt work untill the arrow has hit the ground, can this be because i use LinearVelocity to apply movement to the arrow?