How to change the distance between two bodies in simulink multibody

6 次查看(过去 30 天)
Hey,
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.
Thanks
liqu

回答(1 个)

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.
--Steve

类别

Help CenterFile Exchange 中查找有关 Assembly 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by