ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:setgravityg

SetGravityG

void SetGravityG(fixed gravity)

Description

A version of SetGravity that accepts acceleration as argument, instead of sv_gravity units.

Default gravity is 1.0.
Not all values returned by GetGravityG can be used as parameters to SetGravityG. Some may be too large for SetGravity's fixed-point argument once multiplied by 800.
functions/setgravityg.txt · Last modified: 2017/07/09 17:36 by korshun