Closed lperkin1 closed 1 year ago
Looks like I'm getting the same situation with the ndJointCylinder.
ah my mistake, the roller joint is very similar to the cylinder, the different is the pin axis dof, It seemed I copied and pasted the code from cylinder, I do not really remember now, it was so long ago. The cylinder seem to be correct I just tested it. and I fixed the bug with the roller.
Please try again. Julio
It's working. Thanks!
The demo for the roller joint doesn't seem to be limiting the object's movement or rotation.
I removed all the other joint examples and the spring damper. So the object should be limited to (-1, 1). Here's what I get.
Starting position![image](https://github.com/MADEAPPS/newton-dynamics/assets/9002031/8fcfbc62-f682-4024-b843-4a16d1c3c0f6)
Outside limits![image](https://github.com/MADEAPPS/newton-dynamics/assets/9002031/ae0181a2-fed0-4528-b8f8-a0b06989960a)
It's harder to see, but the rotation limits also don't lock the rotation. Am I missing something?