SetAxisGravity
Last updated
Was this helpful?
Last updated
Was this helpful?
void SetAxisGravity(string axisName, float gravity) void SetAxisGravity(int axisHash, float gravity)
axisName: The name of the axis you want to change the gravity value for. axisHash: The hashcode of the name of the axis you want to change the gravity value for. gravity: The value to assign as the gravity.
Sets the gravity for the axis. This will override cInput's global value.
This value can also be set during the initial axis creation using .