phrack / ShootOFF-legacy

An open source framework to enhance laser dry fire training.
BSD 4-Clause "Original" or "Old" License
30 stars 17 forks source link

Small pepper-poppers don't animate, animate on other target hits #133

Closed cbdmaul closed 9 years ago

cbdmaul commented 9 years ago

screenshot from 2015-03-31 01 09 50

If i resize a pepper popper to a small size, I can shoot it (audio confirmation) but it does not animate. I also noticed that shooting my plate rack caused a pepper popper to animate. See the screenshot. I shot the center rack target and it animated the pepper popper below it. The same thing happened with the right rack target and the pepper popper below it. Both of those make sound but do not animate when shot. Only happened when I made them smaller

phrack commented 9 years ago

This is because of #105. There is an invisible target on the top "circle" of the popper that causes the animate to play. Hitting the popper anywhere but that "circle" causes a sound but no animation. Now, because of #105, when you scale the target the invisible target and what you see get all out of whack, thus shooting a seemingly random place can actually be a hit on where the invisible target is now.