set the default attachment scale rule to snap to target

This commit is contained in:
Mamadou Babaei
2023-05-19 18:15:41 +02:00
parent 3e6252a5c2
commit 786cb5ed8c
@@ -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;