getting the viewport to follow a 3d object
2 views (last 30 days)
Show older comments
I'm currently desining a simulation of an airial drop in matlab using 3d objects imported into the 3d graph for a uni project. however, I'm having trouble setting the camera properly and need some help. what I want the camera to do is position itself behind the object it's following (in this case a jet) and stay there reletive to the objects rotaionel and translation.
I've tried using the camera matlab functions (i.e. view, camlookat,camzoom,camorbit,etc) but I cannot find the right combination to achieve my desired camera settings.
also, just to be clear, I'm aware that these functions can be used to move both the camera and the camera's target but I want the camera slaved to the object as it has it's own set of movements from a simulink model.
0 Comments
Answers (0)
See Also
Categories
Find more on Camera Views 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!