x


Configurable joint around 2 axis

Hi every one, I would like to rotate a configurable joint around 2 axis. I actually do this :

var configurableJoint = GetComponent(ConfigurableJoint); configurableJoint.targetRotation= Quaternion.AngleAxis( angle, Vector3.right );

The "Axis" of my joint is : X : 0 - Y : 1 - Z : 0.

So the object rotatate around Y with the "angle' variable.

Now I want to rotate it around Y and Z simultaneously. The "Axis" of my joint become : X : 0 - Y : 1 - Z : 1. But I don't understand how to script it (the angle can be different around Y and Z)

Thanks for help

more ▼

asked Oct 01 '10 at 01:09 PM

seb7000 gravatar image

seb7000
33 1 1 1

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

3 answers: sort voted first

Help me, please ...

more ▼

answered Oct 02 '10 at 01:03 PM

seb7000 gravatar image

seb7000
33 1 1 1

I feel your pain !

Jan 03 '12 at 10:54 PM LS16BMX
(comments are locked)
10|3000 characters needed characters left

FOR THE LOVE OF GOD somebody help this man!! Please!

more ▼

answered Dec 30 '11 at 05:48 PM

wolis gravatar image

wolis
24 5 8 9

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

Nobody to help me ? please !

more ▼

answered Oct 06 '10 at 10:07 AM

seb7000 gravatar image

seb7000
33 1 1 1

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

x2166
x724
x63

asked: Oct 01 '10 at 01:09 PM

Seen: 1195 times

Last Updated: Jan 03 '12 at 10:54 PM