Skip to content

On Player Particle Collision ​

Physics & collisionsDetailedOnPlayerParticleCollision

A particle of this particle system hits a player.

Happens when a particle from this particle system hits a player's capsule. It fires for any player, so Whose on the card picks Me, Others or Anyone; for an effect only when you are hit, pick Me.

The particle system needs its Collision module on, with Send Collision Messages checked. VRChat's example sets the Collision type to World. Particles only collide with objects on the layers chosen in the module's Collides With.

Hits on other objects arrive in On Particle Collision.

Official docs: Player Collisions (VRChat), Event Nodes (VRChat), Collision module (Unity)

Event values

Values this event has; action settings can use them as targets or values.

NameType
That playerPlayer

On a card

WhenOn Player Particle Collision⋯
What to do
+ Add what to do

In Udon

In UdonSharp, this is the method:

public override void OnPlayerParticleCollision(VRCPlayerApi player)

In the same category