Fix not attaching updated collision data to rigid body.

This commit is contained in:
Chandler Cox
2025-09-19 15:58:22 -05:00
parent 8ec54f7b1c
commit d1fbc66cb9

View File

@@ -248,7 +248,7 @@ void Collider::UpdateGeometry()
const auto rigidBody = dynamic_cast<RigidBody*>(GetParent());
if (_staticActor != nullptr || (rigidBody && CanAttach(rigidBody)))
{
PhysicsBackend::AttachShape(_shape, actor);
Attach(rigidBody);
}
else
{