RemoveSimulatedBody automatically updates the requested handle to be invalid once removed. (#740)
This commit is contained in:
@@ -163,7 +163,6 @@ namespace WhiteBox
|
||||
if (m_sceneInterface)
|
||||
{
|
||||
m_sceneInterface->RemoveSimulatedBody(m_editorSceneHandle, m_rigidBodyHandle);
|
||||
m_rigidBodyHandle = AzPhysics::InvalidSimulatedBodyHandle;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user