collinhover / impactplusplus

Impact++ is a collection of additions to ImpactJS with full featured physics, dynamic lighting, UI, abilities, and more.
http://collinhover.github.com/impactplusplus
MIT License
276 stars 59 forks source link

Added a check for the faceTarget property of the shoot ability, to fix some unwanted animation behavior. #147

Closed Pattentrick closed 10 years ago

Pattentrick commented 10 years ago

I added the check to to the call of the lookAt method. I also fixed the typo from the old pull request.

collinhover commented 10 years ago

You're awesome @Pattentrick!

Pattentrick commented 10 years ago

Thanks @collinhover :D