RemoveSimulatedBody automatically updates the requested handle to be invalid once removed. (#740)
This commit is contained in:
@@ -132,7 +132,6 @@ namespace WhiteBox
|
||||
sceneInterface->RemoveSimulatedBody(defaultScene, m_simulatedBodyHandle);
|
||||
}
|
||||
}
|
||||
m_simulatedBodyHandle = AzPhysics::InvalidSimulatedBodyHandle;
|
||||
}
|
||||
|
||||
void WhiteBoxColliderComponent::OnTransformChanged(
|
||||
|
||||
Reference in New Issue
Block a user