I’m trying to figure out how to use applyForce relative to the rotation of a body.
For example, if the body is right side up, the force is vertical; if the body is rotated 90 degrees the force is horizontal.
Obviously I could fake it of those were the only two cases, but the force needs to be relative to any body rotation.
I’d be grateful for any help or direction to look in, can’t figure this one out
[import]uid: 66672 topic_id: 11016 reply_id: 311016[/import]
… I have been looking for this FOR A VERY LONGTIME. And now i found it but its not working! I have an object names “snow” and ball is going to hit it. Snow’s rotation is always different, and i need to add a linear impulse instead of a force. Do i need any collision functions? Basically when ball hits snow let’s say snow is 45 degrees, then ball would have a linear impulse in the direction of 45 degrees wherever snow is pointing.