Hi,
As the title says, I'm attemping to use a 'locally-simulated' ObiSolver parented to a Rigidbody with it's interpolation set to 'Interpolate'.
Despite smooth Rigidbody motion, the various ObiCloth's (which are children of the ObiSolver), begin to jump / stutter sporadically as the Rigidbody picks up even a small amount of speed.
In my scene, the camera Lerps towards the RB. And the motion of the RB appears smooth both in Game and Scene view. But the motion of the various ObiCloth objects remains 'stuttery' in both views.
When interopolation of the RB is set to 'none', everything is smooth! Or at least when it stutters, it stutters in tandem with the parent RB. (However I still need interoplation for other reasons, so unfortuantely this is not a fix).
What I've tried:
Enabling interoploation on the ObiSolver itself actually appears to make the problem slightly *worse*.
I tried moving the ObiSolver directly onto the RB, rather than as a child. Unfortunately this made no difference.
Changing simulation order to 'LateUpdate' makes a big difference, although with still a tiny amount of stuttering. However, ideally I'd use FixedUpdate. -- As the documentation describes, LateUpdate is great for scenes which update object transform's outside of the physics loop. However, this is not the case for me, everything is driven via physics & FixedUpdate. Which is why I'm a little puzzled...
I'm using ObiCloth 3.5 with unity 2018.2.5f1.
My ObiSolver looks like so:
Any help on this would be greatly apprecaited.
Thanks in advance.
- Just to add, I've been super happy with ObiCloth 3.5, the enhancements to local solvers have benefited my project *greatly*, and makes Obi that little bit more flexible. Hats off and thanks!
As the title says, I'm attemping to use a 'locally-simulated' ObiSolver parented to a Rigidbody with it's interpolation set to 'Interpolate'.
Despite smooth Rigidbody motion, the various ObiCloth's (which are children of the ObiSolver), begin to jump / stutter sporadically as the Rigidbody picks up even a small amount of speed.
In my scene, the camera Lerps towards the RB. And the motion of the RB appears smooth both in Game and Scene view. But the motion of the various ObiCloth objects remains 'stuttery' in both views.
When interopolation of the RB is set to 'none', everything is smooth! Or at least when it stutters, it stutters in tandem with the parent RB. (However I still need interoplation for other reasons, so unfortuantely this is not a fix).
What I've tried:
Enabling interoploation on the ObiSolver itself actually appears to make the problem slightly *worse*.
I tried moving the ObiSolver directly onto the RB, rather than as a child. Unfortunately this made no difference.
Changing simulation order to 'LateUpdate' makes a big difference, although with still a tiny amount of stuttering. However, ideally I'd use FixedUpdate. -- As the documentation describes, LateUpdate is great for scenes which update object transform's outside of the physics loop. However, this is not the case for me, everything is driven via physics & FixedUpdate. Which is why I'm a little puzzled...
I'm using ObiCloth 3.5 with unity 2018.2.5f1.
My ObiSolver looks like so:
Any help on this would be greatly apprecaited.
Thanks in advance.
- Just to add, I've been super happy with ObiCloth 3.5, the enhancements to local solvers have benefited my project *greatly*, and makes Obi that little bit more flexible. Hats off and thanks!