Hello everyone, I have a little problem.
- I’m laying down prefabs
- I select 1 by its index
- I play 1 of his animation
that’s where I have a problem the original position of the prefab is (-5,6, -5)
and at the moment of animation, he positions himself (0,0,0)
as an indication in the animation only the vector Y passes from Y = 6 to Y = 10 rotation of Z = 180 ° with Y = 15 then y = 6
bonjour à tous, j’ai un petit problème.
- j’instancie des préfabs
- j’en sélectionne 1 par son index
3 ) je joue 1 des ses animation
c’est là que j’ai un problème la position originale du préfab est (-5,6,-5)
et au moment de l’animation il se positionne tout seul (0,0,0)
a titre indicatif dans l’animation seul le vecteur Y passe de Y = 6 à Y = 10 rotation de Z = 180° avec Y = 15 puis y = 6