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

Method vfUpdateParticles

ogsr_engine/xrGame/script_entity.cpp:199–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199void CScriptEntity::vfUpdateParticles()
200{
201 CScriptParticleAction& l_tParticleAction = GetCurrentAction()->m_tParticleAction;
202 if (xr_strlen(l_tParticleAction.m_caBoneName))
203 {
204 CParticlesObject* l_tpParticlesObject = l_tParticleAction.m_tpParticleSystem;
205 l_tpParticlesObject->UpdateParent(GetUpdatedMatrix(l_tParticleAction.m_caBoneName, l_tParticleAction.m_tParticlePosition, l_tParticleAction.m_tParticleAngles),
206 l_tParticleAction.m_tParticleVelocity);
207 }
208}
209
210void CScriptEntity::vfUpdateSounds()
211{

Callers 1

ActionCallbackFunction · 0.80

Calls 2

xr_strlenFunction · 0.50
UpdateParentMethod · 0.45

Tested by

no test coverage detected