Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I "unparent" the particles from the solver?
#1
Hi,
I would like to generate the particles, and when they fall onto an object, that object move away, and the particles stay on that object.

Is that possible? Or the particles have to stay as children of the solver?

Thank you
Reply
#2
(27-05-2020, 08:29 PM)alex112 Wrote: Hi,
I would like to generate the particles, and when they fall onto an object, that object move away, and the particles stay on that object.

Is that possible? Or the particles have to stay as children of the solver?

Thank you

This is possible, even though the particles must be children of the solver. It's done exactly in the same way you would with regular rigidbodies in any physics engine.

Simply increase your collision material friction high enough, and make sure the object that's moving (the "platform") has velocity. By this I mean that simply translating it by changing its transform directly won't work at all, all this does is "teleport" the object, but does not give the physics engine any information about the displacement direction or magnitude. You must either have the platform be a rigidbody and move it using forces, or add the ObiKinematicVelocities to the platform to calculate approximate velocities.
Reply