-------------------------------------------------------------------------------- -- State............ : Fly -- Author........... : -- Description...... : -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function Weapon0Bullet.Fly_onLoop ( ) -------------------------------------------------------------------------------- local o = this.getObject ( ) local dt = application.getLastFrameTime ( ) object.translate ( o, 0, 0, -75 * dt, object.kLocalSpace ) -- Collision -- this.explosionTest ( o ) -------------------------------------------------------------------------------- end --------------------------------------------------------------------------------