getting the viewport to follow a 3d object

2 ビュー (過去 30 日間)
Rowan
Rowan 2014 年 5 月 1 日
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 件)

カテゴリ

Help Center および File ExchangeCamera Views についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by