mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
change default mass value
This commit is contained in:
parent
4b87735d4f
commit
024bdf167d
@ -12,8 +12,8 @@ public class AddPhysics : MonoBehaviour
|
||||
[Tooltip("The sector that the rigidbody will be simulated in, or none for it to always be on.")]
|
||||
public Sector Sector;
|
||||
[Tooltip("The mass of the physics object.\n" +
|
||||
"For reference, the player has a mass of 0.001 and the probe has a mass of 0.0001.")]
|
||||
public float Mass = 1f;
|
||||
"Most pushable props use the default value, which matches the player mass.")]
|
||||
public float Mass = 0.001f;
|
||||
[Tooltip("The radius that the added sphere collider will use for physics collision.\n" +
|
||||
"If there's already good colliders on the detail, you can make this 0.")]
|
||||
public float Radius = 1f;
|
||||
|
||||
4
NewHorizons/External/Modules/PropModule.cs
vendored
4
NewHorizons/External/Modules/PropModule.cs
vendored
@ -238,9 +238,9 @@ namespace NewHorizons.External.Modules
|
||||
|
||||
/// <summary>
|
||||
/// The mass of the physics object.
|
||||
/// For reference, the player has a mass of 0.001 and the probe has a mass of 0.0001.
|
||||
/// Most pushable props use the default value, which matches the player mass.
|
||||
/// </summary>
|
||||
[DefaultValue(1f)] public float physicsMass = 1f;
|
||||
[DefaultValue(0.001f)] public float physicsMass = 0.001f;
|
||||
|
||||
/// <summary>
|
||||
/// The radius that the added sphere collider will use for physics collision.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user