x


Drag acting over rigidbody

Does somebody know how the drag parameter acts over a rigidbody? Is it velocity-dependent? I'm preparing a car simulation, but using the rigidbody's drag outside of the other simulation functions is being quite troublesome. Thanks in advance.

more ▼

asked Nov 30 '10 at 12:02 PM

Domoche gravatar image

Domoche
1 1 1 1

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

2 answers: sort voted first

From what I've observed the effect of the drag parameter seems to be the same as rigidbody.AddForce(rigidbody.velocity * dragParameter * -1); if it gets called in FixedUpdate.

more ▼

answered Jul 05 '11 at 04:27 AM

Clydeicus gravatar image

Clydeicus
13 2 2 7

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

From what I've observed the effect of the drag parameter is closer (but not identical) to rigidbody.AddForce(rigidbody.velocity * rigidbody.mass * dragParameter * -1); if it is called in FixedUpdate. (Which doesn't make much sense to me.)

more ▼

answered Feb 28 at 03:44 PM

Martin Kraus gravatar image

Martin Kraus
36

(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:

x1877
x1794
x286

asked: Nov 30 '10 at 12:02 PM

Seen: 865 times

Last Updated: Feb 28 at 03:44 PM