viverse logo

Sample Project

We created a Playcanvas sample project, which contains several demos that you can try on your own. And the following sections will walk you through the detail settings of each demos.

 

Triggers
EntitySubscribeTriggerEnter - Create A Trigger Based On When An Object Enters An Area
EntitySubscribeTriggerLeave - Create A Trigger Based On When An Object Leaves An Area
EntitySubscribeCollisionStart - Create A Trigger Based On When An Object Collides With Another Object
EntitySubscribeCollisionEnd - Create A Trigger Based On When An Object Stops Colliding With Another Object
NotificationCenterSubscribeEntityPicking - Create A Trigger Based On When A User Clicks An Object

 

Actions

EntityEnableById - Create An Action That Enables A Single Object

EntityDisableById - Create An Action That Disables A Single Object
EntityEnableByTag - Create An Action That Enables Multiple Objects
EntityDisableByTag - Create An Action That Disables Multiple Objects
EntityFadeIn - Create An Action That Fades In An Object
EntityFadeOut - Create An Action That Fades Out An Object
EntityDisable - Create An Action That Disables An Object
EntityToggleCollision - An Action That Toggles An Object's Collider On/Off
EntityEnableCollision - Create An Action That Enables An Object's Collider
EntityDisableCollision - Create An Action That Disables An Object's Collider
EntityPlayAnimation - Create An Action That Plays An Animation
TeleportAvatar - Create An Action That Teleports An Object To A Specific Location
EntityCheckPoint - Create An Action That Sets A New Spawn Point
EntityPlaySound - Create An Action That Plays A Sound
EntityStopSound - Create An Action That Stops Playing A Sound

 

Trigger & Action Combo
NotificationCenterPublish & NotificationCenterSubscribe - An Action And Trigger Combination That Sends And Receives A Notification To An Object

Previous

Trigger & Action

Next

EntitySubscribeTriggerEnter