MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getPosAdd

Method getPosAdd

Engine/source/T3D/player.h:561–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

559 F32 curSink;
560 void clear() {dMemset(this, 0, sizeof(*this)); initFall();}
561 VectorF getPosAdd() {VectorF ret(posAdd); posAdd.set(0,0,0); return ret;}
562 bool haveVelocity() {return posAdd.x != 0 || posAdd.y != 0;}
563 void initFall() {curNormal.set(0,0,1); curSink = 0;}
564 Death() {clear();}

Callers 1

_moveMethod · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected