Menu
IntroductionPhysics ObjectsForce EntitiesAdvanced UsageFurther Information
Instant Property
Gyro 2.1a

Gyro_Force_AddProperty_Instant(entity force)
Certain high-strength forces, such as explosions, should exist for only a split second. Regular forces are unable to perform accurately in such short time frames and would produce varied results based on the player's framerate. Applying the instant property to a force will avoid such issues by bypassing Gyro's internal tickrate and simulating physics interactions for a full second, regardless of framerate. The force will then be removed automatically on the following frame, ignoring the persistent property, should it have been applied.

Gyro_Force_RemoveProperty_Instant(entity force)
Removes the instant property from the given force. A somewhat useless function, but included for completeness.