Set reference frame collider radius to just above zero

because it being at zero makes it use the sphereOfInfluence instead
This commit is contained in:
Noah Pilarski 2024-05-04 02:14:48 -04:00
parent fb9e10fee7
commit 4719831f45

View File

@ -13,7 +13,7 @@ namespace NewHorizons.Builder.General
// We can't not build a reference frame volume, Cloak requires one to be there // We can't not build a reference frame volume, Cloak requires one to be there
module.maxTargetDistance = 0f; module.maxTargetDistance = 0f;
module.targetWhenClose = true; module.targetWhenClose = true;
module.targetColliderRadius = 0f; module.targetColliderRadius = 0.001f;
module.hideInMap = true; module.hideInMap = true;
owrb.SetIsTargetable(false); owrb.SetIsTargetable(false);
} }