Table of Contents

COMP_ENFORCE_RECTANGLE

Category: Component
Mod Dependency: Foundation EBF

Parent class: COMPONENT

Properties


Rectangle


Enforcer

Runtime only

Functions


setEnforcer

void setEnforcer(gameObject)

Name Type Description
gameObject GAME_OBJECT The centre of the rectangle

getPosition

vec3f getPosition()

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