How to control the velocity of a D6 joint with the Dynamic Control interface using articulations?

Hi!

I want to control the speed of a D6 joint along the x axis while at the same time allowing for free rotation around the y axis. This is to mock the dynamics of omni-directional wheels. I have locked the three linear motions and the rotation around the z-axis. I can’t seem to find any examples of this.

Best,
Lars

Hi,
there is a physics demo for D6 joint (Window->simulation->physics->demos), where you can lock/enable selected axis.
So what you need to do is to create the generic PhysicsJoint and add limits per axis, where the rules are:
a) Limit min < max - movement restricted between min and max
b) Limit max < min - movement locked
c) Limit not applied no API added - movement free

Regards,
Ales

1 Like

Thank you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.