Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Obi Handle and fixing particles at runtime
#6
(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.TransformConfundidoet_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:


Attached Files
.cs   Grabber.cs (Size: 6.06 KB / Downloads: 12)
Reply


Messages In This Thread
RE: Obi Handle and fixing particles at runtime - by josemendez - 14-11-2019, 01:12 PM