set the default attachment rotation rule to keep relative

This commit is contained in:
Mamadou Babaei
2023-05-18 21:18:26 +02:00
parent 79ba87c291
commit 2e273d938f
@@ -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;