x


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!

more ▼

asked Mar 20 '12 at 05:09 AM

Sokco816 gravatar image

Sokco816
85 2 2 4

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

thx! i haven't had time to try it out, but it looks promising!

more ▼

answered Mar 20 '12 at 03:22 PM

Sokco816 gravatar image

Sokco816
85 2 2 4

(comments are locked)
10|3000 characters needed characters left

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.

more ▼

answered Mar 20 '12 at 06:25 AM

fafase gravatar image

fafase
10.5k 9 15 40

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1785
x243
x10

asked: Mar 20 '12 at 05:09 AM

Seen: 1108 times

Last Updated: Mar 20 '12 at 03:22 PM