mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Fix 3D custom objects CenterZ expression and condition (#6448)
This commit is contained in:
@@ -105,7 +105,7 @@ namespace gdjs {
|
||||
if (this._isUntransformedHitBoxesDirty) {
|
||||
this._updateUntransformedHitBoxes();
|
||||
}
|
||||
return this._minZ;
|
||||
return this._z + this._minZ;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -80,7 +80,7 @@ namespace gdjs {
|
||||
|
||||
threeObject3D.visible = !this._object.hidden;
|
||||
|
||||
this._isContainerDirty = true;
|
||||
this._isContainerDirty = false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user