getting the viewport to follow a 3d object
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Camera Views 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!