Vr sink translation seletion

2 次查看(过去 30 天)
Im working on a project wich is to create a drone. After import our document on 3d simulation we have a problem because we can't insert motion to the component of our drone. It could help us if you know why there is no possibility to put translation. I insert also a picture to show the subject.

采纳的回答

Jan Houska
Jan Houska 2021-6-27
Hi Gaetan,
this is because all your objects are defined as Group nodes, and these do not have the capability to change position or rotation. To be able to change position etc., you need to change these nodes to Transform nodes.
Probably the easiest way to do this is to close your model and open the WRL file as text. You will see something like "DEF Drone Group" for all the Group nodes in the virtual world. Change that to "DEF Drone Transform" for all the nodes you want to move and save the WRL file. Then open your model again and the translation, rotation, etc. fields should be there.
Good Luck, Jan
  3 个评论
Jan Houska
Jan Houska 2021-6-29
Hi Gaetan,
right-click the WRL file, select "Open as Text". Then the WRL file opens in a text editor and you should be able to make the changes.
Jan
Gaetan Chauvel
Gaetan Chauvel 2021-6-29
Ok perfect i saw what you werre talking about.
Thanks a lot

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by