- Home /
AddForce to position on Rigidbody
Hey guys, I'm making a skateboard game where when you press a button, it adds force to the tail of the board for an ollie. I want to literally do that: Is there a way to addforce to a point(tail) on the rigidbody(skateboard)? I know how to addforce in general, affecting the direction and power, but not the placement of the force. Thanks in advance!
Answer by fafase · Mar 20, 2012 at 06:25 AM
I am looking at this one:
http://unity3d.com/support/documentation/ScriptReference/Rigidbody.AddForceAtPosition.html
I am not so sure how it works exactly. I would think you need to apply that to the back foot that would add the force to the board where the foot is.
Answer by Sokco816 · Mar 20, 2012 at 03:22 PM
thx! i haven't had time to try it out, but it looks promising!