Purpose Of didRenderLastRender Function
by Scott Doerrfeld · in Torque Game Engine · 08/09/2007 (2:07 pm) · 1 replies
What is the purpose of using the 'didRenderLastRender' function here:
In Player.cc:
Would it be much of a problem if I took it out of this check?
In Player.cc:
void Player::processTick(const Move* move)
{
.
.
.
PROFILE_START(Player_PhysicsSection);
if(isServerObject() || (didRenderLastRender() || getControllingClient()))
{
updateWorkingCollisionSet();
updateState();
updateMove(move);
updateLookAnimation();
updateDeathOffsets();
updatePos();
}
PROFILE_END();
.
.
.
}Would it be much of a problem if I took it out of this check?
About the author
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft
Thats to save processing time on the client side.