From 2992b3d19e4dc90c54a5d0e17f64c1801dd5e839 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Thu, 21 Oct 2021 16:01:23 +0200 Subject: [PATCH] Updated offset to reflect documentation in projectile --- .../format/components/projectile.json | 21 +++++-------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/source/behavior/entities/format/components/projectile.json b/source/behavior/entities/format/components/projectile.json index 6fdd192f..5cc19065 100644 --- a/source/behavior/entities/format/components/projectile.json +++ b/source/behavior/entities/format/components/projectile.json @@ -103,25 +103,13 @@ }, "offset": { "type": "array", - "default": [0, 0.5, 0], + "default": [0, 0.0, 0], "description": "The offset from the entity's anchor where the projectile will spawn", "title": "Offset", "items": [ - { - "type": "number", - "description": "X", - "title": "X" - }, - { - "type": "number", - "description": "Y", - "title": "Y" - }, - { - "type": "number", - "description": "Z", - "title": "Z" - } + { "type": "number", "description": "X", "title": "X" }, + { "type": "number", "description": "Y", "title": "Y" }, + { "type": "number", "description": "Z", "title": "Z" } ] }, "on_fire_time": { @@ -480,6 +468,7 @@ } }, "examples": [ + {}, { "anchor": 0, "angle_offset": 0,