set the default attachment scale rule to snap to target

This commit is contained in:
Mamadou Babaei
2023-05-19 18:14:03 +02:00
parent e932c4559f
commit dd193a27e3
@@ -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;