MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / getGravity

Method getGravity

Source/Platformer/BulletDef.cpp:60–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60Vec2 BulletDef::getGravity() const noexcept {
61 return _bodyDef->getLinearAcceleration();
62}
63
64void BulletDef::setAsCircle(float radius) {
65 _bodyDef->clearFixtures();

Callers 1

Calls 1

getLinearAccelerationMethod · 0.80

Tested by

no test coverage detected