Obi Official Forum

Full Version: Color change on collision
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

I am trying to find a way to get the particles to change color individually when they collide with a gameobject that has an Obi Collider. How would a be able to achieve this?

Any assistance will be greatly valued, Thanks

Apologies if this has come up before
(08-11-2023, 03:35 PM)MajorĀ 2Sips Wrote: [ -> ]Hello

I am trying to find a way to get the particles to change color individually when they collide with a gameobject that has an Obi Collider. How would a be able to achieve this?

Any assistance will be greatly valued, Thanks

Apologies if this has come up before

Hi,

You can use collision callbacks for this.

There's an example of this included with the asset, see the "FluidMaze" sample scene.

kind regards,
(08-11-2023, 03:57 PM)josemendez Wrote: [ -> ]Hi,

You can use collision callbacks for this.

There's an example of this included with the asset, see the "FluidMaze" sample scene.

kind regards,


Thank you.