Skip to content

On Player Collision Stay ​

Physics & collisionsDetailedOnPlayerCollisionStay

Every physics step while a player touches this collider.

This event happens often: keep heavy work out of it, and keep it on Only my screen.

Happens again and again while a player's capsule touches this object's collider. VRChat's docs describe it as every frame.

Like On Player Collision Enter, it is meant for moving things touching a player, and isn't called when a player walks into a stationary object. If you only need the start and the end of the contact, On Player Collision Enter and On Player Collision Exit are lighter.

Official docs: Player Collisions (VRChat), Event Nodes (VRChat)

Event values

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

NameType
That playerPlayer

On a card

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

In Udon

In UdonSharp, this is the method:

public override void OnPlayerCollisionStay(VRCPlayerApi player)

In the same category