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

Method getLinearAcceleration

Source/Physics/BodyDef.cpp:389–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387}
388
389Vec2 BodyDef::getLinearAcceleration() const noexcept {
390 return {_conf.linearAcceleration[0], _conf.linearAcceleration[1]};
391}
392
393void BodyDef::setFixedRotation(bool var) {
394 _conf.UseFixedRotation(var);

Callers 3

initMethod · 0.80
getGravityMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected