Merge branch 'fix-physics-attach-rigid' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-physics-attach-rigid
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user