Originally Posted by Luckylock
Updated: Added clamping to avoid potential exploit.
Using game frame is necessary for lag compensation to work properly, I'm not sure how the EntityThink works, could you explain it?
OnGameFrame() is at the start of the server frame static.
Think is dynamic but usually most entities call it everyframe and is mid gameframe, it don't really matter if you use OnThink or OnGameFrame because both actions are before the rock has even moved or done anything if i recall correctly.
Visor probs mean a ThinkPost hook if that works on the rock.