what do you mean godot doesn't have a native way to find the bounding box.
thankfully someone made some code years ago to do that cause, im looking at it and fuck, this looks like math.
and im shit at that.
25// Gal. Animator, multi-talented artist jumping around at her own pace.
Hello how are you?
what do you mean godot doesn't have a native way to find the bounding box.
thankfully someone made some code years ago to do that cause, im looking at it and fuck, this looks like math.
and im shit at that.
For what objects? I know at least visible 3D objects have a gey_aabb() function.
i have a CollisionPolygon2D. the idea is to be able to get the bounding box size in pixels and then scale some ui element over it to show the player its clickable.
Strange. It looks like Shape2D has a get_rect() function, but CollisionPolygon2D doesn't.