14-11-2019, 11:48 AM
(14-11-2019, 10:51 AM)manurocker95 Wrote: You don't need to download the video to watch it, it supports online play.
I already did it withÂ
solver.invMasses[pickArgs.particleIndex] = 0f;
solver.velocities[pickArgs.particleIndex]= Vector4.zero;
saving the last invMass, but I'm getting this:
transform.position assign attempt for 'Dragon' is not valid. Input position is { NaN, NaN, NaN }.
UnityEngine.Transformet_position(Vector3)
Obi.ObiSoftbody:OnSolverStepEnd(Single) (at Assets/Obi/Scripts/Actors/ObiSoftbody.cs:65)
Obi.ObiSolver:AllSolversStepEnd() (at Assets/Obi/Scripts/Solver/ObiSolver.cs:877)
Obi.ObiArbiter:WaitForAllSolvers() (at Assets/Obi/Scripts/Solver/ObiArbiter.cs:45)
Obi.ObiSolver:WaitForAllSolvers() (at Assets/Obi/Scripts/Solver/ObiSolver.cs:784)
Obi.ObiSolver:SimulateStep(Single) (at Assets/Obi/Scripts/Solver/ObiSolver.cs:672)
Obi.ObiSolver:FixedUpdate() (at Assets/Obi/Scripts/Solver/ObiSolver.cs:866)
And multiple clusters errors like:
transform.position assign attempt for 'Cluster102' is not valid. Input position is { NaN, NaN, NaN }.
UnityEngine.Transformet_position(Vector3)
Obi.ObiSoftbodySkinner:UpdateBones(Object, EventArgs) (at Assets/Obi/Rendering/ObiSoftbodySkinner.cs:122)
Obi.ObiSolver:EndFrame(Single) (at Assets/Obi/Scripts/Solver/ObiSolver.cs:727)
Obi.ObiSolver:LateUpdate() (at Assets/Obi/Scripts/Solver/ObiSolver.cs:905)
The dragon disappears.
Btw, the examples from the manual do nothing
Hi there,
Going to write an example script and post it here, for reference.