Game Development Community

Use of SourceIdTimeoutTicks in Projectile

by elvince · in Torque 3D Professional · 06/08/2010 (2:58 am) · 0 replies

Hi All,

I'm not sure to understand the purpose of SourceIdTimeoutTicks.
The only thing that I saw is that the source Id will disappear after X ticks. But what the goal?
the default value is 231ms (7 ticks... not how you get this as it get 33ms per ticks... 32 I would have ok, but 33??)
If you set the sourceId is mainly to be able to use it in the damage function, but now, after a few ticks it disappear and you don't have the information.
Or is it just there to avoid that the projectile collide with yourself when it's launch?

If someone have the explanation or another use of this, I will be glad to have this information.

Thanks,