06-12-2018, 12:05 PM
(05-12-2018, 10:13 PM)CommonFruit Wrote: Hi,
I'm using pin constraints to connect my rope to obiColliders on my character and their sword. These colliders are moved around during the characters animation. The simulation seems to work but the whole simulation is one frame behind the animation:
I assume this is happening because the ObiSolver is updating before the animation but even changing the "Simulation Order" to "Late Update" doesn't fix the problem.
I also don't think the problem lies with my constraint iterations because if you look closely at the images, the rope is in the correct position but just one frame delayed.
If anyone has any advice or thinks they know why this is happening it would be much appreciated!
If you need more info just let me know
Make sure the solver interpolation is disabled. Enabling frame interpolation will delay simulation exactly 1 frame.