mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
use * 2
This commit is contained in:
parent
5e11e5f95a
commit
9455c48755
@ -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;
|
body.AddComponent<ProxyShadowCasterSuperGroup>()._bounds.radius = sphereOfInfluence * 2;
|
||||||
|
|
||||||
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