Is it possible to change the draw distance in Simulink 3D animation?

1 view (last 30 days)
I am creating an interactive simulation where the user can only see a specific distance ahead of them. Is it possible to change the draw or render distance in Simulink 3D Animation? My idea was to set the draw distance very short so that they could only see a limited distance.

Accepted Answer

Jan Houska
Jan Houska on 14 Jul 2015
Please take a look at the NavigationInfo node. Its avatarSize and visibilityLimit fields influence the nearest and farthest distance to be rendered, respectively. So, for your use case, changing visibilityLimit is probably the right thing to do.

More Answers (0)

Categories

Find more on Simulation 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!