Table of Contents

COMP_ENFORCE_RADIUS

Category: Component
Mod Dependency: Foundation EBF

Parent class: COMPONENT

Properties


Radius


Enforcer

Runtime only

Functions


setEnforcer

void setEnforcer(gameObject)

Name Type Description
gameObject GAME_OBJECT The centre of the radius

getPosition

vec3f getPosition()

Returns a uniformly distributed random position within the specified radius in 2 dimensions