14-11-2022, 03:02 PM
Hi,
I have a main physical gameobject, which have ropes in his children. The user can manually set the position of the main physical gameobject (like far away of its current position).
For the moment, when the user change the position, I move the gameobject of the obiSolver inside the main physical gameobject to affect his position (and then the position of the rope inside it) after that I move out the obiSolver from the main physical gameobject "to free it". However, it not very clean and moreover it causes instability right after the movement.
What would be the cleaner way to move a gameobject that contains rope ?
Thanks in advance,
I have a main physical gameobject, which have ropes in his children. The user can manually set the position of the main physical gameobject (like far away of its current position).
For the moment, when the user change the position, I move the gameobject of the obiSolver inside the main physical gameobject to affect his position (and then the position of the rope inside it) after that I move out the obiSolver from the main physical gameobject "to free it". However, it not very clean and moreover it causes instability right after the movement.
What would be the cleaner way to move a gameobject that contains rope ?
Thanks in advance,