update rigid body to use non-deprecated function and remove many deprecated transform bus functions

This commit is contained in:
greerdv
2021-05-27 10:51:36 +01:00
parent 4205a69106
commit 34c59a81b8
8 changed files with 10 additions and 322 deletions
@@ -614,7 +614,7 @@ namespace AzToolsFramework
AZ::Quaternion oldEntityRotation;
AZ::TransformBus::EventResult(oldEntityRotation, id, &AZ::TransformBus::Events::GetWorldRotationQuaternion);
transformComponent->SetRotationQuaternion(oldEntityRotation);
transformComponent->SetWorldRotationQuaternion(oldEntityRotation);
// Ensure the existing hierarchy is maintained
AZ::EntityId oldParentEntityId;