#Correct implementation for Stop()

1 messages · Page 1 of 1 (latest)

formal schooner
#

Greetings,

I've got the recoil working for full auto, but I'm not so sure my implementation is correct. When I look at the documentation, my understanding is...

  1. Implement Play() when each shot is fired (on projectile spawn)
  2. Implement Stop() when the trigger is released

With the above implementation, auto did not work for me, the recoil component would play on the first shot, and when I release the trigger

If I move Stop() to just after Play() then things seem to work pretty well, I'm actually really happy with it. But is this.... correct?

somber ruin