From a2f6787e709dd1eea627e051c82ddf30e3bb48fd Mon Sep 17 00:00:00 2001 From: Ben C Date: Fri, 3 Feb 2023 21:31:21 +0000 Subject: [PATCH] Updated Schemas --- NewHorizons/Schemas/body_schema.json | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/NewHorizons/Schemas/body_schema.json b/NewHorizons/Schemas/body_schema.json index 612451b9..6b347b8e 100644 --- a/NewHorizons/Schemas/body_schema.json +++ b/NewHorizons/Schemas/body_schema.json @@ -1093,15 +1093,19 @@ }, "hasPhysics": { "type": "boolean", - "description": "Should this object dynamically move around" + "description": "Should this object dynamically move around?" + }, + "physicsMass": { + "type": "number", + "description": "The mass of the physics object.", + "format": "float", + "default": 1.0 }, "physicsRadius": { - "type": [ - "null", - "number" - ], - "description": "Optionally create a SphereCollider of the given radius that physics will use for collision", - "format": "float" + "type": "number", + "description": "The radius that the added sphere collider will use for physics collision.", + "format": "float", + "default": 0.5 } } },