BoneAttachment fix.
This commit is contained in:
parent
b2f9acb8c9
commit
957baf48dc
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ void Skeleton::_notification(int p_what) {
|
|||
ERR_CONTINUE(!obj);
|
||||
Spatial *sp = obj->cast_to<Spatial>();
|
||||
ERR_CONTINUE(!sp);
|
||||
sp->set_transform(b.pose_global * b.rest_global_inverse);
|
||||
sp->set_transform(b.pose_global);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue