We weren't setting type for avatar motion states.

This commit is contained in:
Howard Stearns 2015-10-29 22:15:26 -07:00
parent 308fd0cf7e
commit 792fed0090

View file

@ -18,6 +18,7 @@
AvatarMotionState::AvatarMotionState(Avatar* avatar, btCollisionShape* shape) : ObjectMotionState(shape), _avatar(avatar) {
assert(_avatar);
_type = MOTIONSTATE_TYPE_AVATAR;
if (_shape) {
_mass = 100.0f; // HACK
}