set the default attachment scale rule to snap to target

This commit is contained in:
Mamadou Babaei
2023-05-19 18:14:53 +02:00
parent ce6c8bf525
commit 37d557df0e
@@ -101,7 +101,7 @@ USGGrabComponent::USGGrabComponent(const FObjectInitializer& ObjectInitializer)
{
AttachmentLocationRule = EAttachmentRule::SnapToTarget;
AttachmentRotationRule = EAttachmentRule::SnapToTarget;
AttachmentScaleRule = EAttachmentRule::SnapToTarget;
AttachmentScaleRule = EAttachmentRule::KeepWorld;
bAttachmentWeldSimulatedBodies = true;
AttachmentSocketName = NAME_None;