MCPcopy Create free account
hub / github.com/carbonengine/trinity / CreateImpact

Method CreateImpact

trinity/Eve/SpaceObject/EveSpaceObject2.cpp:3147–3154  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Description: Create an impact effect on this object -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

3145// Create an impact effect on this object
3146// -----------------------------------------------------------------------------
3147int EveSpaceObject2::CreateImpact( int damageLocatorIndex, const Vector3& direction, float lifeTime, float size )
3148{
3149 if( m_impactOverlay )
3150 {
3151 return m_impactOverlay->CreateImpact( damageLocatorIndex, direction, lifeTime, size, 1.f, m_lodLevel, this );
3152 }
3153 return -1;
3154}
3155
3156void EveSpaceObject2::SetLastDamageLocatorHit( unsigned int locator )
3157{

Callers 4

StartFireAtLocatorMethod · 0.45
UpdateMethod · 0.45
CheckImpactMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected