set the default attachment scale rule to snap to target

This commit is contained in:
Mamadou Babaei
2023-05-19 18:04:43 +02:00
parent 7d4c839f9f
commit 3a44a177fd
@@ -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;