New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSGMesh GetAabb() / GetTransformedAabb() returns zero #38273
Comments
This happens with all CSG shapes, not just the CSGMesh. Update: This appears to be a timing issue, because it only happens when calling the functions in |
To calculate the godot/modules/csg/csg_shape.cpp Lines 200 to 212 in d3c10e8
Currently, it seems like |
func _ready():
call_deferred("deferred")
func deferred():
print(csg_shape.get_aabb()) |
Godot version:
3.2.2.beta1
OS/device including version:
Windows 10 Pro (10.0.18362)
Issue description:
CSGMesh methods
GetAabb()
andGetTransformedAabb()
returnsVector3.Zero
.csgMesh.Mesh.GetAabb()
seems to return the correct value.Steps to reproduce:
GetAabb()
orGetTransformedAabb()
on the CSGMesh node.The text was updated successfully, but these errors were encountered: