Enable Moving Safe Zone

Safe Zone
Server Side
Both Mobile and PC

The safe zone that smoothly moves to the end point when opened

Declaration

func EnableMovingSafeZone(startPosition Vector3, targetPosition Vector3, initRadius float, finalRadius float, duration float, damage float)
go

Parameters

Input

Name Type Description
Start Position Vector3 Safe zone starting position
Target Position Vector3 Safe zone end position
Initial Radius Float Initial radius of safe zone
Final Radius Float Final radius of safe zone
Duration (s) Float The time required for the safe zone to reach the final state, in seconds
Damage Float The amount of damage per second taken outside the safe zone