x


In what unit is ConfigurableJoint.targetAngularVelocity expressed?

I have a configurable joint which is in velocity mode for angularXDrive and angularYZDrive, with Maximum Force set at infinity. I use targetAngularVelocity to set the joint's velocity.

But I don't know what unit is targetAngularVelocity. I thought it would be in degrees per second, but it's not. I tried with an angular velocity of (10, 0, 0) assuming it would rotate by 10 degrees every second, but it makes roughly a whole revolution (360 degrees) every second.

So I was wondering what the unit was.

more ▼

asked Jan 05 '10 at 07:59 PM

Sam Bauwens gravatar image

Sam Bauwens
145 3 3 12

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

1 answer: sort voted first

I would guess it's probably radians per second. 10 radians per second would be 360 degrees in about 2/3 of a second, which sounds close to the speed you said it looked like it was moving.

In case you don't know, to convert from degrees to radians just divide by 180 and multiply by pi (Mathf.PI), and the opposite to convert from radians to degrees.

more ▼

answered Jan 05 '10 at 11:16 PM

Stelimar gravatar image

Stelimar
3k 14 16 50

interesting, I'll try that, thanks.

Jan 06 '10 at 05:32 AM Sam Bauwens
(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:

x66

asked: Jan 05 '10 at 07:59 PM

Seen: 876 times

Last Updated: Jan 05 '10 at 07:59 PM