MCPcopy Create free account
hub / github.com/defold/defold / CompScriptFixedUpdate

Function CompScriptFixedUpdate

engine/gameobject/src/gameobject/comp_script.cpp:262–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 }
261
262 UpdateResult CompScriptFixedUpdate(const ComponentsUpdateParams& params, ComponentsUpdateResult& update_result)
263 {
264 CompScriptWorld* script_world = (CompScriptWorld*)params.m_World;
265 dmScript::FixedUpdateScriptWorld(script_world->m_ScriptWorld, params.m_UpdateContext->m_DT);
266 return CompScriptUpdateInternal(params, SCRIPT_FUNCTION_FIXED_UPDATE, update_result);
267 }
268
269 UpdateResult CompScriptLateUpdate(const ComponentsUpdateParams& params, ComponentsUpdateResult& update_result)
270 {

Callers

nothing calls this directly

Calls 2

FixedUpdateScriptWorldFunction · 0.85
CompScriptUpdateInternalFunction · 0.85

Tested by

no test coverage detected