change default mass value

This commit is contained in:
JohnCorby 2023-02-03 21:55:01 -08:00
parent 4b87735d4f
commit 024bdf167d
2 changed files with 4 additions and 4 deletions

View File

@ -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.")] [Tooltip("The sector that the rigidbody will be simulated in, or none for it to always be on.")]
public Sector Sector; public Sector Sector;
[Tooltip("The mass of the physics object.\n" + [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.")] "Most pushable props use the default value, which matches the player mass.")]
public float Mass = 1f; public float Mass = 0.001f;
[Tooltip("The radius that the added sphere collider will use for physics collision.\n" + [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.")] "If there's already good colliders on the detail, you can make this 0.")]
public float Radius = 1f; public float Radius = 1f;

View File

@ -238,9 +238,9 @@ namespace NewHorizons.External.Modules
/// <summary> /// <summary>
/// The mass of the physics object. /// 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> /// </summary>
[DefaultValue(1f)] public float physicsMass = 1f; [DefaultValue(0.001f)] public float physicsMass = 0.001f;
/// <summary> /// <summary>
/// The radius that the added sphere collider will use for physics collision. /// The radius that the added sphere collider will use for physics collision.