필터 지우기
필터 지우기

getting the viewport to follow a 3d object

조회 수: 1 (최근 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 CenterFile Exchange에서 Camera Views에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by