set the default attachment rotation rule to keep relative

This commit is contained in:
Mamadou Babaei
2023-05-19 18:14:54 +02:00
parent 37d557df0e
commit 5f350b4b43
@@ -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;