Remember me
You are here: HomePlayer

Trigger Example

By Symbiotic Interactives
22/03/2024
|
11
1
 
Use the arrow keys to move & rotate the character.

If you want to trigger events depending on the player's location, or if the player is in radius to interactive objects in the level you're making, here's a good example on how to do so.

Unlike other engines, Cyberix does not have a dedicated trigger code block. So as an alternative, I took a block with collision disabled, and checked if the player was in the radius of the block's width, height, and depth. It returns as "isTriggered", but doesn't if the player isn't in the radius.  
More games by Symbiotic Interactives