mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
We weren't setting type for avatar motion states.
This commit is contained in:
parent
308fd0cf7e
commit
792fed0090
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue