Changing Field of View or Perspective in Simmechanics Simulation

2 views (last 30 days)
Hello all,
I have a Simmechanics simulation set up perfectly, but I would like to change the field of view of the camera that looks at the model. Instead of looking at the model, I would like the perspective of the simulation to follow the model and look at a specified direction as the model moves. In other words, I would like the perspective to act as a camera sitting on the model, and I want to see what that camera sees as the model does its thing.
If any of you could help me out, that would be great. Also, if the above description isn't clear, I would be happy to re-explain to make it clearer. Thanks.
Rob

Answers (1)

Sebastian Castro
Sebastian Castro on 2 Apr 2015
Rob,
Right now you can't really make the SimMechanics animation perspective "follow" an object. Simulink 3D Animation does let you do this, though.
This documentation page is a bit lengthy, but shows how you can use the same CAD model as a source for SimMechanics and Simulink 3D Animation. It's sort of a "best of both worlds".
- Sebastian

Categories

Find more on Simulation and Analysis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!