MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / overrideGravity

Method overrideGravity

source/game/StarWorldClient.cpp:765–767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763}
764
765void WorldClient::overrideGravity(float gravity) {
766 m_overrideGravity = gravity;
767}
768
769void WorldClient::resetGravity() {
770 m_overrideGravity = {};

Callers 1

setGravityMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected