This feature or component is deprecated and you should not use it.
It is not available in the latest VRChat SDK, and is either non-functional, or will no longer receive updates. It will be removed at a later date.
Triggers and Actions have been replaced by VRChat Udon, a powerful, easy to use scripting system that enables creation of both simple behaviors and complex interactions in VRChat worlds.
OnEnterCollider is used to activate the VRC_Trigger if two colliders start interacting with each other in instances where neither of the colliders have the "Trigger" checkbox selected.
The VRC_Trigger needs to be on the same GameObject as the collider you want to detect interaction with.
If one or both of the colliders that you want to detect interaction between have "Trigger" checked on them, use OnEnterTrigger instead.
For more information about collision and trigger events, Unity has great documentation on when Collider(Collision) happens and when Trigger happens here
In order for OnEnterCollider to work properly, at least one of the two objects must have a RigidBody.
OnCollider doesn't work with Player layers. Use OnAvatarHit instead when you want a trigger that activates when avatars collide with your collider.
Should be selected if the trigger should be activated for every new object that strikes the collider.
The layer(s) that should activate this trigger when they interact with the collider that the VRC_Trigger is on
Updated 7 months ago