Changing Center of Rotation for Actor Block in Simulink 3D Library
2 views (last 30 days)
Show older comments
I have a simulation that calculates rotational accelerations and velocities for every joint of a hyperredundant robot. Now I want to visualize it by using Simulink 3D library. However, actors only rotating about their centers and I can not find how to move their center of rotations to the joint locations. How can I do that? Is there any easy method other than adding all pins as new child actors.
1 Comment
jordanrivers
on 1 Jul 2025
Great question visualizing joint-based motion in Simulink 3D can be tricky when default rotations are center-based. Adjusting pivot points or using hierarchical actors may help. While refining your simulation on Android, visit ApkTuti.com for free Game & App Apk download and secure APK Downloads
Accepted Answer
Nishan Nekoo
on 23 Jun 2025
Hello! Unfortunately this is a little tricky to achieve in an intuitive way but it is possible through some workarounds.
E.g. to displace your actor origin by [0 0 10],
actor.Translation = [0 0 10];
actor.DynamicMesh.transformMesh([0 0 -10]);
This applies only for kinematic transformations. For physics-induced rotations, the rotation point is the center of mass which you can adjust by providing an offset from actor origin as actor.CenterOfMass.
Hope that helps,
Nishan
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!