Menu
IntroductionPhysics ObjectsForce EntitiesAdvanced UsageFurther Information
Anti-gravity Affector
Gyro 2.1a

Gyro_Force_ApplyAffector_AntiGravity(entity force, float strength, float absolute)
Useful for augmenting other affectors, anti-gravity will work to counteract the usual downward acceleration of gravity. It is unable to physically lift an object, no matter how strong the affector may be, and neither can it push an object downwards. In many cases, anti-gravity performs best when treated as an absolute affector, by setting the absolute flag to TRUE. You cannot specify any axis multiplication nor will the affector work correctly with negative strength. It is also worth noting that it has no special behaviour when applied to an instant force.