tension physics adjustment
This commit is contained in:
1 parent
8629139522
commit
f7dc87e918
1 file changed
+1
-1
@@ -245,7 +245,7 @@ function newFloatingObject () {
|
||||
thisObject.payload.angle = thisObject.payload.angle - 360
|
||||
}
|
||||
|
||||
if (distanceToChainParent > 1000) { return } // this is introduced to avoid edges cases when importing workspaces.
|
||||
if (distanceToChainParent > 2000) { return } // this is introduced to avoid edges cases when importing workspaces.
|
||||
|
||||
newPosition = {
|
||||
x: parent.payload.position.x + distanceToChainParent * Math.cos(toRadians(thisObject.payload.angle)),
|
||||
|
||||
Reference in new issue
Block a user