actual initial commit lmao
This commit is contained in:
7
scripts/print_mesh_size.gd
Normal file
7
scripts/print_mesh_size.gd
Normal file
@@ -0,0 +1,7 @@
|
||||
extends MeshInstance3D
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
print("X "+str(self.mesh.get_aabb().size.x * 32))
|
||||
print("Y "+str(self.mesh.get_aabb().size.y * 32))
|
||||
print("Z "+str(self.mesh.get_aabb().size.z * 32))
|
||||
Reference in New Issue
Block a user