Sphere with decelerated rotation

Hi all

I’d like to rotate a sphere on x y z axis dragging mouse on it.

I’d like to add physic deceleration to sphere when mouse is released

Any help?



ps: i’ll not ask u again about sphere rotation ; )

The torque “vector” you set or get is actually the torque around the x, y and z axis.

umm?

[java]rigidBodyControl.applyTorque(new Vector3f(0,0,mouseX));[/java]

what is rigidBodyControl?

What is tutorial?

epic lol



dilembo check out the tutorials on the wiki, especially physics doc