Godot Version
4.5.1
Question
Hey everyone, I have a question about using get_aabb() with physics bodies.
I have two bodies, and I want one to move on top of the other. This works fine as long as there’s no rotation, but once rotation is involved, it breaks. The body is a RigidBody set to frozen, but get_aabb() doesn’t seem to behave correctly with rotation.
I tried using a StaticBody instead, and that works well. However, I want the object to become a RigidBody when interacted with.
So my questions are:
Does RigidBody not work well with get_aabb() (especially with rotation)?
Am I using RigidBody incorrectly?
If I switch between StaticBody and RigidBody, will reparenting like that hurt performance?