Skip to main content

shared Entity:initPhysics

void Entity:initPhysics(phys, block)

Sets the entity physics type
If block is set, the VIS will be blocked by it


Parameters

TypeNameDescriptionOptional
PHYSICSphysDefaults: PHYSICS.DYNAMIC
booleanblockDefaults: false