User Tools

Site Tools


communityapi:ebf:comp_enforce_radius

This is an old revision of the document!


COMP_ENFORCE_RADIUS

Category: Component

Parent class: COMPONENT

Properties


Radius

  • Type: float
  • Default value: 1

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

communityapi/ebf/comp_enforce_radius.1627414546.txt.gz · Last modified: 2021/07/27 15:35 by minotorious

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki