Originally posted by mordentral
View Post
Code:
// draw capsule location & size const FVector& CapsuleComponentLocation{ GetCapsuleComponent()->GetComponentLocation() }; const FRotator& CapsuleComponentRotation{ GetCapsuleComponent()->GetComponentRotation() }; DrawDebugCapsule( GetWorld() , CapsuleComponentLocation , GetCapsuleComponent()->GetScaledCapsuleHalfHeight() , GetCapsuleComponent()->GetScaledCapsuleRadius() , CapsuleComponentRotation.Quaternion() , FColor::White); DrawDebugCapsule( GetWorld() , GetVRLocation() , VRRootReference->GetScaledCapsuleHalfHeight() , VRRootReference->GetScaledCapsuleRadius() , VRRootReference->GetComponentRotation().Quaternion() , FColor::Magenta);
Am I thinking about this incorrectly?
Thanks for looking at this with me!
Comment