Vr sink translation seletion

3 Ansichten (letzte 30 Tage)
Gaetan Chauvel
Gaetan Chauvel am 27 Jun. 2021
Kommentiert: Gaetan Chauvel am 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.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by