update Ragdoll component to only uses Handles (#981)

This commit is contained in:
amzn-sean
2021-05-27 16:42:17 +01:00
committed by GitHub
parent 7ced53cf58
commit 529e29071c
7 changed files with 93 additions and 42 deletions
@@ -465,7 +465,7 @@ namespace PhysX
PhysX::CharacterController* CharacterControllerComponent::GetController()
{
return const_cast<PhysX::CharacterController*>(GetControllerConst());
return const_cast<PhysX::CharacterController*>(static_cast<const CharacterControllerComponent&>(*this).GetControllerConst());
}
void CharacterControllerComponent::CreateController()