Effacer les filtres
Effacer les filtres

Vr sink translation seletion

5 vues (au cours des 30 derniers jours)
Gaetan Chauvel
Gaetan Chauvel le 27 Juin 2021
Commenté : Gaetan Chauvel le 29 Juin 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.

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by