fix signed/unsigned comparison
fixed signed/unsigned comparison and unused variable
fixed signed/unsigned comparison
removed unused variable
removed signed/unsigned comparisons
removed signed/unsigned comparisons
added default case for switch statements

which avoids warnings about unhandled enum values
reorderd init of data members in ctor
removed unused variables
removed singed/unsigned comparisons
removed signed/unsigned comparison
removed warnigs about ill-formed narrowing conversion
fix bug: zero velocity when teleporting to new locations
Merge pull request #3365 from AndrewMeadows/inertia

remove warnings