Refactored set dynamic body logic
Attemped fix for animation assert failing in getPlayingAnimation()