Simple Particle Grabber

This tool is used to grab some particles of the simulation mesh of an Actor. It makes the particles in its radius kinematic and moves them according to the position of the tool. A guide on how to setup and use the Simple Particle Grabber tool is provided below:

  1. Add the Simple Particle Grabber component on a GameObject.

    To add the Simple Particle Grabber component, click on Add Component > MAGES > Mesh Deformations > Tools > Simple Particle Grabber.

  2. Assign the PhysicsWorld that you want to use in the inspector of the Simple Particle Grabber component.

    Drag and drop the PhysicsWorld in the Physics World field:

    ../../../_images/SimpleParticleGrabberInspector.PNG
  3. Adjust the Grab Radius.

    Adjust the Grab Radius so that the sphere displayed on the scene best matches the tool shape:

    ../../../_images/GrabRadius.PNG

You have now successfully setup the Simple Particle Grabber tool. In the section is a guide on how to use it.

How to Use?

When you want to grab some particles you can call void Grab() public function of the SimpleParticleGrabber component. If you want to release the particles grabbed, you can call void Release() public function of the SimpleParticleGrabber component.

Note

  • You can observe specific actors, and raise an event when they are grabbed or released using the ObserverParticles list in the inspector.

  • Additionally, you can specify the particles the tool can grab by setting the GrabLayer to the Layer of the particle group you want to grab.