Moving dummycharacter collider to cursor pos in the editor (-> dropped items are positioned correctly)
This commit is contained in:
@@ -845,6 +845,7 @@ namespace Barotrauma
|
||||
{
|
||||
limb.body.SetTransform(mouseSimPos, 0.0f);
|
||||
}
|
||||
dummyCharacter.AnimController.Collider.SetTransform(mouseSimPos, 0.0f);
|
||||
}
|
||||
|
||||
dummyCharacter.ControlLocalPlayer((float)deltaTime, cam, false);
|
||||
|
||||
Reference in New Issue
Block a user