Can I do this? Oimo.js joints

Okay, good image I know. The top half is what I have now. A blue cylinder hinge jointed to a green box and the cylinder spins like a wheel. The bottom is what I want to know if I can do. Have the blue cylinder still be hinged to the green box, but this time with a rotation of -PI/8. Not sure what in rotationQuaternion.

Is it possible?

@Cedric another physics question for ya!

I think you can do that by computing the local vector and setting the value for the connectedAxis parameter.

Are you still using Oimo?

1: ok, i’ll try it.
2: yes. In the name of a steerable oimo car

I got it working! I just made the mainAxis this: (1, 0, 0.1)