Bug fixed
This commit is contained in:
1 parent
612f835fea
commit
9cf9eab2a6
3 files changed
+28
-1
No files matched your search
@@ -41,6 +41,7 @@ function newFloatingObject () {
|
||||
angleToParentToggle: angleToParentToggle,
|
||||
distanceToParentToggle: distanceToParentToggle,
|
||||
physics: physics,
|
||||
invisiblePhysics: invisiblePhysics,
|
||||
initializeMass: initializeMass,
|
||||
initializeRadius: initializeRadius,
|
||||
initializeImageSize: initializeImageSize,
|
||||
@@ -220,6 +221,12 @@ function newFloatingObject () {
|
||||
return thisObject.distanceToParent
|
||||
}
|
||||
|
||||
function invisiblePhysics () {
|
||||
if (thisObject.payload.uiObject !== undefined) {
|
||||
thisObject.payload.uiObject.invisiblePhysics()
|
||||
}
|
||||
}
|
||||
|
||||
function physics () {
|
||||
frozenPhysics()
|
||||
/* From here on, only if they are not too far. */
|
||||
|
||||
Reference in new issue
Block a user