Menu
IntroductionPhysics ObjectsForce EntitiesAdvanced UsageFurther Information
Property Components
Gyro 2.1a

Property components are used to alter the standard behaviour of force entities and the methods they use to interact with physics objects. They may, for example, restrict a force to operating only under water or allow it to interact with objects otherwise blocked by a solid obstruction. Properties are applied like flags and, as such, have no individual settings beyond their basic on/off states.

Each property will have two functions associated with it - one to add the property to a force, and another to remove it. Additionally, there is a function to remove all properties from a force, thus resetting it to the default state:

Gyro_Force_ClearProperties(entity force)
Removes all active properties from a given force entity, returning it to it's default state.

The following property components are available:

Air-only property
Ground-pound property
Ignore walls property
Instant property
Persistent property
Water-only property