mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
_radius
This commit is contained in:
parent
6a8299f4cc
commit
262fc1687e
@ -46,7 +46,7 @@ public class AddPhysics : MonoBehaviour
|
||||
bodyGo.AddComponent<SphereCollider>().radius = Radius;
|
||||
var shape = bodyGo.AddComponent<SphereShape>();
|
||||
shape._collisionMode = Shape.CollisionMode.Detector;
|
||||
shape.radius = Radius;
|
||||
shape._radius = Radius;
|
||||
bodyGo.AddComponent<DynamicForceDetector>();
|
||||
var fluidDetector = bodyGo.AddComponent<DynamicFluidDetector>();
|
||||
fluidDetector._buoyancy = Locator.GetProbe().GetOWRigidbody()._attachedFluidDetector._buoyancy;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user