remove dangling shape pointers from PhysicsSimulation
Merge pull request #3255 from AndrewMeadows/ragdoll

remove dangling shape pointers from PhysicsSimulation