Vr sink translation seletion

4 views (last 30 days)
Gaetan Chauvel
Gaetan Chauvel on 27 Jun 2021
Commented: Gaetan Chauvel on 29 Jun 2021
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.

Accepted Answer

Jan Houska
Jan Houska on 27 Jun 2021
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 Comments
Jan Houska
Jan Houska on 29 Jun 2021
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 on 29 Jun 2021
Ok perfect i saw what you werre talking about.
Thanks a lot

Sign in to comment.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!