How to change the distance between two bodies in simulink multibody

조회 수: 2(최근 30일)
i want to do a simulation with simulink multibody but i need to change the distance between two bodies (which consist multiple other bodies).
I've found that i can use the distance constraint but then my one body will rotate around the other body. Is there any possibility to stop that rotating or is there a another option to change distance between two bodies.


Steve Miller
Steve Miller 2022년 4월 8일
Hi - if you connect a Prismatic Joint between the two bodies and set it up for prescribed motion (Force: Automatically Computed; Motion: Provide by Input), you can have your two bodies remain a specified distance apart.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by