17-12-2020, 09:01 AM
(This post was last modified: 17-12-2020, 09:02 AM by josemendez.)
Hi Ben,
There's a sample component that let you click on any actor and drag it around: ObiParticleDragger.
When you add a ObiParticleDragger, a ObiParticlePicker will also be added as a dependency. The picker raycasts against all particles and raises events for particle click/drag/release. The dragger subscribes to these events and applies spring forces to move the picked particle(s) around.
There's a sample component that let you click on any actor and drag it around: ObiParticleDragger.
When you add a ObiParticleDragger, a ObiParticlePicker will also be added as a dependency. The picker raycasts against all particles and raises events for particle click/drag/release. The dragger subscribes to these events and applies spring forces to move the picked particle(s) around.