14-11-2019, 01:12 PM
(This post was last modified: 14-11-2019, 01:12 PM by josemendez.)
(14-11-2019, 12:26 PM)manurocker95 Wrote: trying both scripts gives me:
Invalid localAABB. Object transform is corrupt.
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)
Closing Unity and opening it again made it working but I have the same issue. Can you provide an example scene where handles are created in runtime?
Hi there,
Here's a sample "Grabber" script (find it attached), that acts as a runtime handle able to grab and release any particles in contact with a collider.
A video of it: