This commit is contained in:
JohnCorby 2023-08-06 22:49:45 -07:00
parent 5e11e5f95a
commit 9455c48755

View File

@ -6,7 +6,7 @@ namespace NewHorizons.Builder.General
{
public static OWRigidbody Make(GameObject body, float sphereOfInfluence)
{
body.AddComponent<ProxyShadowCasterSuperGroup>()._bounds.radius = sphereOfInfluence;
body.AddComponent<ProxyShadowCasterSuperGroup>()._bounds.radius = sphereOfInfluence * 2;
Rigidbody rigidBody = body.AddComponent<Rigidbody>();
rigidBody.mass = 10000;