MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / UpdatePositionAnimation

Method UpdatePositionAnimation

ogsr_engine/xrGame/CustomMonster.cpp:493–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

491}
492
493void CCustomMonster::UpdatePositionAnimation()
494{
495 START_PROFILE("CustomMonster/client_update/movement")
496 movement().on_frame(character_physics_support()->movement(), NET_Last.p_pos);
497 STOP_PROFILE
498
499 START_PROFILE("CustomMonster/client_update/animation")
500 if (!bfScriptAnimation())
501 SelectAnimation(XFORM().k, movement().detail().direction(), movement().speed());
502 STOP_PROFILE
503}
504
505BOOL CCustomMonster::feel_visible_isRelevant(CObject* O)
506{

Callers

nothing calls this directly

Calls 6

XFORMFunction · 0.85
movementMethod · 0.80
directionMethod · 0.80
on_frameMethod · 0.45
speedMethod · 0.45

Tested by

no test coverage detected