Vr sink translation seletion

2 visualizaciones (últimos 30 días)
Gaetan Chauvel
Gaetan Chauvel el 27 de Jun. de 2021
Comentada: Gaetan Chauvel el 29 de Jun. de 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.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulation en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by