forked from omigroup/gltf-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnode.OMI_physics_body.schema.json
27 lines (27 loc) · 1.12 KB
/
node.OMI_physics_body.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "node.OMI_physics_body.schema.json",
"title": "OMI_physics_body glTF Node Extension",
"type": "object",
"description": "Defines physics information for a node.",
"allOf": [ { "$ref" : "glTFProperty.schema.json" } ],
"properties": {
"motion": {
"type": "object",
"description": "If present, this node has its motion controlled by physics, specified by these motion parameters.",
"$ref": "glTF.OMI_physics_body.motion.schema.json"
},
"collider": {
"type": "object",
"description": "If present, this node is solid and can be collided with, specified by these collider parameters.",
"$ref": "glTF.OMI_physics_body.collider.schema.json"
},
"trigger": {
"type": "object",
"description": "If present, this node is non-solid and can act as a trigger, specified by these trigger parameters.",
"$ref": "glTF.OMI_physics_body.trigger.schema.json"
},
"extensions": { },
"extras": { }
}
}