Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  How to update particles immediately after activating ObiRope Component
#1
I made a method to modify particle positions and activate actor.
It is like this.
Code:
obiRope.enabled = true;
for(int i=0; i< obiRope.solver.positions.Count; i++)
    obiRope.solver.positions[obiRope.solverIndices[i]] = targetPositions[i];

However, it displays particles that are before deactivating only at one frame immediately after executing this.

I tried some update or rebuild methods for ObiRope and ObiSolver.
But I didn't find method to force update particles.
Is there a way to solve this?
Reply


Messages In This Thread
How to update particles immediately after activating ObiRope Component - by asimofu_ok - 12-12-2020, 07:37 AM