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

Method processTick

Engine/source/T3D/tsStatic.cpp:683–696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

681}
682
683void TSStatic::processTick(const Move* move)
684{
685 if ( isServerObject() && mPlayAmbient && mAmbientThread )
686 {
687 mShapeInstance->setTimeScale(mAmbientThread, mAnimSpeed);
688 mShapeInstance->advanceTime( TickSec, mAmbientThread );
689 }
690 if (isMounted())
691 {
692 MatrixF mat(true);
693 mMount.object->getMountTransform(mMount.node, mMount.xfm, &mat);
694 setTransform(mat);
695 }
696}
697
698void TSStatic::interpolateTick(F32 delta)
699{

Callers

nothing calls this directly

Calls 3

setTimeScaleMethod · 0.45
advanceTimeMethod · 0.45
getMountTransformMethod · 0.45

Tested by

no test coverage detected