-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example files for OMI_physics_body and OMI_physics_shape
- Loading branch information
1 parent
160acd1
commit 428d8ca
Showing
39 changed files
with
2,824 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[remap] | ||
|
||
importer="scene" | ||
importer_version=1 | ||
type="PackedScene" | ||
uid="uid://cgi83hhy1df6v" | ||
path="res://.godot/imported/ball_pit.gltf-1323bff07f27fb405cca075239dee184.scn" | ||
|
||
[deps] | ||
|
||
source_file="res://examples/omi_physics_body/gltf/ball_pit.gltf" | ||
dest_files=["res://.godot/imported/ball_pit.gltf-1323bff07f27fb405cca075239dee184.scn"] | ||
|
||
[params] | ||
|
||
nodes/root_type="Node3D" | ||
nodes/root_name="Scene Root" | ||
nodes/apply_root_scale=true | ||
nodes/root_scale=1.0 | ||
meshes/ensure_tangents=true | ||
meshes/generate_lods=true | ||
meshes/create_shadow_meshes=true | ||
meshes/light_baking=1 | ||
meshes/lightmap_texel_size=0.2 | ||
skins/use_named_skins=true | ||
animation/import=true | ||
animation/fps=30 | ||
animation/trimming=false | ||
animation/remove_immutable_tracks=true | ||
import_script/path="" | ||
_subresources={} | ||
gltf/embedded_image_handling=1 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
{ | ||
"asset": { | ||
"version": "2.0" | ||
}, | ||
"extensions": { | ||
"OMI_physics_shape": { | ||
"shapes": [ | ||
{ | ||
"type": "box", | ||
"box": { | ||
"size": [1, 1, 1] | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"extensionsUsed": ["OMI_physics_shape", "OMI_physics_body"], | ||
"nodes": [ | ||
{ | ||
"children": [1, 3, 5, 8, 11, 12], | ||
"name": "IndirectColliders" | ||
}, | ||
{ | ||
"children": [2], | ||
"extensions": { "OMI_physics_body": { "type": "kinematic" } }, | ||
"name": "KinematicDirect", | ||
"translation": [0, 0, 0] | ||
}, | ||
{ | ||
"extensions": { "OMI_physics_shape": { "shape": 0 } }, | ||
"name": "BoxShapeKinematicDirect" | ||
}, | ||
{ | ||
"children": [4], | ||
"extensions": { "OMI_physics_body": { "type": "trigger" } }, | ||
"name": "TriggerDirect", | ||
"translation": [0, 0, -2] | ||
}, | ||
{ | ||
"extensions": { "OMI_physics_shape": { "shape": 0 } }, | ||
"name": "BoxShapeTriggerDirect" | ||
}, | ||
{ | ||
"children": [6], | ||
"extensions": { "OMI_physics_body": { "type": "kinematic" } }, | ||
"name": "KinematicIndirect", | ||
"translation": [-2, 0, 0] | ||
}, | ||
{ | ||
"children": [7], | ||
"name": "IntermediaryNodeKinematic" | ||
}, | ||
{ | ||
"extensions": { "OMI_physics_shape": { "shape": 0 } }, | ||
"name": "BoxShapeKinematicIndirect" | ||
}, | ||
{ | ||
"children": [9], | ||
"extensions": { "OMI_physics_body": { "type": "trigger" } }, | ||
"name": "TriggerIndirect", | ||
"translation": [-2, 0, -2] | ||
}, | ||
{ | ||
"children": [10], | ||
"name": "IntermediaryNodeTrigger" | ||
}, | ||
{ | ||
"extensions": { "OMI_physics_shape": { "shape": 0 } }, | ||
"name": "BoxShapeTriggerIndirect" | ||
}, | ||
{ | ||
"extensions": { | ||
"OMI_physics_body": { "type": "kinematic" }, | ||
"OMI_physics_shape": { "shape": 0 } | ||
}, | ||
"name": "KinematicSameNode", | ||
"translation": [2, 0, 0] | ||
}, | ||
{ | ||
"extensions": { | ||
"OMI_physics_body": { "type": "trigger" }, | ||
"OMI_physics_shape": { "shape": 0 } | ||
}, | ||
"name": "TriggerSameNode", | ||
"translation": [2, 0, -2] | ||
} | ||
], | ||
"scene": 0, | ||
"scenes": [{ "nodes": [0] }] | ||
} |
32 changes: 32 additions & 0 deletions
32
examples/omi_physics_body/gltf/indirect_children.gltf.import
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[remap] | ||
|
||
importer="scene" | ||
importer_version=1 | ||
type="PackedScene" | ||
uid="uid://hkb2c7anourq" | ||
path="res://.godot/imported/indirect_children.gltf-732825a49ea5683e414178c5e7d87530.scn" | ||
|
||
[deps] | ||
|
||
source_file="res://examples/omi_physics_body/gltf/indirect_children.gltf" | ||
dest_files=["res://.godot/imported/indirect_children.gltf-732825a49ea5683e414178c5e7d87530.scn"] | ||
|
||
[params] | ||
|
||
nodes/root_type="Node3D" | ||
nodes/root_name="Scene Root" | ||
nodes/apply_root_scale=true | ||
nodes/root_scale=1.0 | ||
meshes/ensure_tangents=true | ||
meshes/generate_lods=true | ||
meshes/create_shadow_meshes=true | ||
meshes/light_baking=1 | ||
meshes/lightmap_texel_size=0.2 | ||
skins/use_named_skins=true | ||
animation/import=true | ||
animation/fps=30 | ||
animation/trimming=false | ||
animation/remove_immutable_tracks=true | ||
import_script/path="" | ||
_subresources={} | ||
gltf/embedded_image_handling=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
{ | ||
"asset": { | ||
"version": "2.0" | ||
}, | ||
"extensions": { | ||
"OMI_collider": { | ||
"colliders": [ | ||
{ | ||
"size": [1, 1, 1], | ||
"type": "box" | ||
}, | ||
{ | ||
"isTrigger": true, | ||
"size": [1, 1, 1], | ||
"type": "box" | ||
} | ||
] | ||
} | ||
}, | ||
"extensionsUsed": ["OMI_collider", "OMI_physics_body"], | ||
"nodes": [ | ||
{ | ||
"children": [1, 4, 8, 11, 15, 16, 17, 18], | ||
"name": "IndirectColliders" | ||
}, | ||
{ | ||
"children": [2, 3], | ||
"extensions": { "OMI_physics_body": { "type": "kinematic" } }, | ||
"name": "KinematicDirect", | ||
"translation": [-2, 0, 0] | ||
}, | ||
{ | ||
"extensions": { "OMI_collider": { "collider": 0 } }, | ||
"name": "ColliderShapeDirect" | ||
}, | ||
{ | ||
"extensions": { "OMI_collider": { "collider": 1 } }, | ||
"name": "TriggerShapeDirect", | ||
"translation": [0, 1, 0] | ||
}, | ||
{ | ||
"children": [5], | ||
"extensions": { "OMI_physics_body": { "type": "kinematic" } }, | ||
"name": "KinematicIndirect" | ||
}, | ||
{ | ||
"children": [6, 7], | ||
"name": "IntermediaryNodeKinematic" }, | ||
{ | ||
"extensions": { "OMI_collider": { "collider": 0 } }, | ||
"name": "ColliderShapeIndirect" | ||
}, | ||
{ | ||
"extensions": { "OMI_collider": { "collider": 1 } }, | ||
"name": "TriggerShapeIndirect", | ||
"translation": [0, 1, 0] | ||
}, | ||
{ | ||
"children": [9, 10], | ||
"extensions": { "OMI_physics_body": { "type": "trigger" } }, | ||
"name": "TriggerDirect", | ||
"translation": [-2, 0, -2] | ||
}, | ||
{ | ||
"extensions": { "OMI_collider": { "collider": 0 } }, | ||
"name": "ColliderShapeTriggerDirect" | ||
}, | ||
{ | ||
"extensions": { "OMI_collider": { "collider": 1 } }, | ||
"name": "TriggerShapeTriggerDirect", | ||
"translation": [0, 1, 0] | ||
}, | ||
{ | ||
"children": [12], | ||
"extensions": { "OMI_physics_body": { "type": "trigger" } }, | ||
"name": "TriggerIndirect", | ||
"translation": [0, 0, -2] | ||
}, | ||
{ | ||
"children": [13, 14], | ||
"name": "IntermediaryNodeTrigger" | ||
}, | ||
{ | ||
"extensions": { "OMI_collider": { "collider": 0 } }, | ||
"name": "ColliderShapeTriggerIndirect" | ||
}, | ||
{ | ||
"extensions": { | ||
"OMI_collider": { "collider": 1 } | ||
}, | ||
"name": "TriggerShapeTriggerIndirect", | ||
"translation": [0, 1, 0] | ||
}, | ||
{ | ||
"extensions": { | ||
"OMI_physics_body": { "type": "kinematic" }, | ||
"OMI_collider": { "collider": 0 } | ||
}, | ||
"name": "KinematicSameNodeSolid", | ||
"translation": [2, 0, 0] | ||
}, | ||
{ | ||
"extensions": { | ||
"OMI_physics_body": { "type": "trigger" }, | ||
"OMI_collider": { "collider": 1 } | ||
}, | ||
"name": "TriggerSameNodeTrigger", | ||
"translation": [4, 0, 0] | ||
}, | ||
{ | ||
"extensions": { | ||
"OMI_physics_body": { "type": "trigger" }, | ||
"OMI_collider": { "collider": 0 } | ||
}, | ||
"name": "TriggerSameNodeSolid", | ||
"translation": [2, 0, -2] | ||
}, | ||
{ | ||
"extensions": { | ||
"OMI_physics_body": { "type": "kinematic" }, | ||
"OMI_collider": { "collider": 1 } | ||
}, | ||
"name": "KinematicSameNodeTrigger", | ||
"translation": [4, 0, -2] | ||
} | ||
], | ||
"scene": 0, | ||
"scenes": [{ "nodes": [0] }] | ||
} |
32 changes: 32 additions & 0 deletions
32
examples/omi_physics_body/gltf/indirect_colliders.gltf.import
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[remap] | ||
|
||
importer="scene" | ||
importer_version=1 | ||
type="PackedScene" | ||
uid="uid://c0vcj7sq0h6" | ||
path="res://.godot/imported/indirect_colliders.gltf-7df7d7bc27817fe2b7a684301356ec87.scn" | ||
|
||
[deps] | ||
|
||
source_file="res://examples/omi_physics_body/gltf/indirect_colliders.gltf" | ||
dest_files=["res://.godot/imported/indirect_colliders.gltf-7df7d7bc27817fe2b7a684301356ec87.scn"] | ||
|
||
[params] | ||
|
||
nodes/root_type="Node3D" | ||
nodes/root_name="Scene Root" | ||
nodes/apply_root_scale=true | ||
nodes/root_scale=1.0 | ||
meshes/ensure_tangents=true | ||
meshes/generate_lods=true | ||
meshes/create_shadow_meshes=true | ||
meshes/light_baking=1 | ||
meshes/lightmap_texel_size=0.2 | ||
skins/use_named_skins=true | ||
animation/import=true | ||
animation/fps=30 | ||
animation/trimming=false | ||
animation/remove_immutable_tracks=true | ||
import_script/path="" | ||
_subresources={} | ||
gltf/embedded_image_handling=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"asset": { | ||
"version": "2.0" | ||
}, | ||
"extensions": { | ||
"OMI_physics_shape": { | ||
"shapes": [ | ||
{ | ||
"type": "sphere", | ||
"sphere": { | ||
"radius": 0.5 | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"extensionsUsed": [ | ||
"OMI_physics_body", | ||
"OMI_physics_shape" | ||
], | ||
"nodes": [ | ||
{ | ||
"children": [1], | ||
"extensions": { | ||
"OMI_physics_body": { | ||
"angularVelocity": [0.0698131993412971, 0.0872664973139763, 0.104719996452332], | ||
"linearVelocity": [1, 2, 3], | ||
"type": "rigid" | ||
} | ||
}, | ||
"name": "RigidWithVelocity" | ||
}, | ||
{ | ||
"extensions": { | ||
"OMI_physics_shape": { | ||
"shape": 0 | ||
} | ||
}, | ||
"name": "SphereShape" | ||
} | ||
], | ||
"scene": 0, | ||
"scenes": [{ "nodes": [0] }] | ||
} |
32 changes: 32 additions & 0 deletions
32
examples/omi_physics_body/gltf/rigid_with_velocity.gltf.import
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[remap] | ||
|
||
importer="scene" | ||
importer_version=1 | ||
type="PackedScene" | ||
uid="uid://c5l86nipjdylg" | ||
path="res://.godot/imported/rigid_with_velocity.gltf-ddf54dfbf133d037d8fff199fba1a733.scn" | ||
|
||
[deps] | ||
|
||
source_file="res://examples/omi_physics_body/gltf/rigid_with_velocity.gltf" | ||
dest_files=["res://.godot/imported/rigid_with_velocity.gltf-ddf54dfbf133d037d8fff199fba1a733.scn"] | ||
|
||
[params] | ||
|
||
nodes/root_type="Node3D" | ||
nodes/root_name="Scene Root" | ||
nodes/apply_root_scale=true | ||
nodes/root_scale=1.0 | ||
meshes/ensure_tangents=true | ||
meshes/generate_lods=true | ||
meshes/create_shadow_meshes=true | ||
meshes/light_baking=1 | ||
meshes/lightmap_texel_size=0.2 | ||
skins/use_named_skins=true | ||
animation/import=true | ||
animation/fps=30 | ||
animation/trimming=false | ||
animation/remove_immutable_tracks=true | ||
import_script/path="" | ||
_subresources={} | ||
gltf/embedded_image_handling=1 |
Oops, something went wrong.