set the default attachment rotation rule to keep relative

This commit is contained in:
Mamadou Babaei
2023-05-19 18:12:11 +02:00
parent b33125dbbd
commit 955e5fee9b
@@ -100,7 +100,7 @@ USGGrabComponent::USGGrabComponent(const FObjectInitializer& ObjectInitializer)
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
{
AttachmentLocationRule = EAttachmentRule::SnapToTarget;
AttachmentRotationRule = EAttachmentRule::SnapToTarget;
AttachmentRotationRule = EAttachmentRule::KeepRelative;
AttachmentScaleRule = EAttachmentRule::KeepWorld;
bAttachmentWeldSimulatedBodies = true;