How to get the size of a mesh instance in Godot 4.2?
14:24 06 Apr 2024

I am procedurally generating a maze with various sized objects and they need to be placed by the center position.

To do that I need to get the dimensions to find the center because my algorithm generates the position based on the center of the object. If I change the objects size I want to recalculate the center of the mesh for proper placement.

I am instantiating .tscn files, if that makes a difference.

In Godot3 I believe it was get_size() or something similar. I can't figure out what it is in Godot4 and can't find it in the documentation.

instance mesh godot4 procedural-generation