mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Revert "use * 2"
This reverts commit 9455c487551418ee75c8e8a07b410e6c4c35e283.
This commit is contained in:
parent
9455c48755
commit
01b8ac0b7a
@ -6,7 +6,7 @@ namespace NewHorizons.Builder.General
|
|||||||
{
|
{
|
||||||
public static OWRigidbody Make(GameObject body, float sphereOfInfluence)
|
public static OWRigidbody Make(GameObject body, float sphereOfInfluence)
|
||||||
{
|
{
|
||||||
body.AddComponent<ProxyShadowCasterSuperGroup>()._bounds.radius = sphereOfInfluence * 2;
|
body.AddComponent<ProxyShadowCasterSuperGroup>()._bounds.radius = sphereOfInfluence;
|
||||||
|
|
||||||
Rigidbody rigidBody = body.AddComponent<Rigidbody>();
|
Rigidbody rigidBody = body.AddComponent<Rigidbody>();
|
||||||
rigidBody.mass = 10000;
|
rigidBody.mass = 10000;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user