mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-10-10 07:17:52 -06:00
Use the right offset for object collision after Polygon collision was fixed
Contributes to #35
This commit is contained in:
parent
3b03cfa949
commit
7302d979dc
1 changed files with 2 additions and 2 deletions
|
@ -80,8 +80,8 @@ class PlatformPhysics:
|
|||
if overlap is None:
|
||||
continue
|
||||
|
||||
move_vector.setX(-overlap[0])
|
||||
move_vector.setZ(-overlap[1])
|
||||
move_vector.setX(overlap[0] * 1.1)
|
||||
move_vector.setZ(overlap[1] * 1.1)
|
||||
|
||||
if move_vector != Vector():
|
||||
op = PlatformPhysicsOperation.PlatformPhysicsOperation(node, move_vector)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue