Coding prismatic joints

Typically: "How do I... ", "How can I... " questions
Post Reply
Irving
Posts: 11
Joined: 24 Jun 2018, 19:55

Coding prismatic joints

Post by Irving »

I've created a model that is constructed entirely from a customisation script which runs as the scene starts. However, unless I'm going blind, I've not found a way to set the minimum and range parameters for a prismatic joint (get/setJointPosition works ok for the starting position). Did I miss something?

Irving
Posts: 11
Joined: 24 Jun 2018, 19:55

Re: Coding prismatic joints

Post by Irving »

Found the answer by accident looking for something else.

sim.setJointInterval(...) is the (not so obvious) answer.

Post Reply