-
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
3a46029
commit 77adb0b
Showing
51 changed files
with
3,101 additions
and
1 deletion.
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://diapqybopv4bm" | ||
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="" | ||
nodes/root_name="" | ||
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,46 @@ | ||
{ | ||
"asset": { | ||
"version": "2.0" | ||
}, | ||
"extensions": { | ||
"OMI_physics_shape": { | ||
"shapes": [ | ||
{ | ||
"type": "box", | ||
"box": { | ||
"size": [1, 2, 3] | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"extensionsUsed": [ | ||
"OMI_physics_body", | ||
"OMI_physics_shape" | ||
], | ||
"nodes": [ | ||
{ | ||
"children": [1], | ||
"extensions": { | ||
"OMI_physics_body": { | ||
"motion": { | ||
"type": "dynamic" | ||
} | ||
} | ||
}, | ||
"name": "DynamicBox" | ||
}, | ||
{ | ||
"extensions": { | ||
"OMI_physics_body": { | ||
"collider": { | ||
"shape": 0 | ||
} | ||
} | ||
}, | ||
"name": "BoxShape" | ||
} | ||
], | ||
"scene": 0, | ||
"scenes": [{ "nodes": [0] }] | ||
} |
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://csff8bg7tcdep" | ||
path="res://.godot/imported/dynamic_box.gltf-5b69ed8587ba51a35d135c583a8226a2.scn" | ||
|
||
[deps] | ||
|
||
source_file="res://examples/omi_physics_body/gltf/dynamic_box.gltf" | ||
dest_files=["res://.godot/imported/dynamic_box.gltf-5b69ed8587ba51a35d135c583a8226a2.scn"] | ||
|
||
[params] | ||
|
||
nodes/root_type="" | ||
nodes/root_name="" | ||
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,50 @@ | ||
{ | ||
"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": { | ||
"motion": { | ||
"angularVelocity": [4, 5, 6], | ||
"linearVelocity": [1, 2, 3], | ||
"type": "dynamic" | ||
} | ||
} | ||
}, | ||
"name": "DynamicWithVelocity" | ||
}, | ||
{ | ||
"extensions": { | ||
"OMI_physics_body": { | ||
"collider": { | ||
"shape": 0 | ||
} | ||
} | ||
}, | ||
"name": "SphereShape" | ||
} | ||
], | ||
"scene": 0, | ||
"scenes": [{ "nodes": [0] }] | ||
} |
32 changes: 32 additions & 0 deletions
32
examples/omi_physics_body/gltf/dynamic_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://eg861a2cj7dh" | ||
path="res://.godot/imported/dynamic_with_velocity.gltf-0ac6bbf5b18dabc361be1b05e27ae9df.scn" | ||
|
||
[deps] | ||
|
||
source_file="res://examples/omi_physics_body/gltf/dynamic_with_velocity.gltf" | ||
dest_files=["res://.godot/imported/dynamic_with_velocity.gltf-0ac6bbf5b18dabc361be1b05e27ae9df.scn"] | ||
|
||
[params] | ||
|
||
nodes/root_type="" | ||
nodes/root_name="" | ||
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,125 @@ | ||
{ | ||
"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": { | ||
"motion": { "type": "kinematic" } | ||
} | ||
}, | ||
"name": "KinematicDirect", | ||
"translation": [0, 0, 0] | ||
}, | ||
{ | ||
"extensions": { | ||
"OMI_physics_body": { | ||
"collider": { "shape": 0 } | ||
} | ||
}, | ||
"name": "BoxShapeKinematicDirect" | ||
}, | ||
{ | ||
"children": [4], | ||
"extensions": { | ||
"OMI_physics_body": { | ||
"trigger": {} | ||
} | ||
}, | ||
"name": "TriggerDirect", | ||
"translation": [0, 0, -2] | ||
}, | ||
{ | ||
"extensions": { | ||
"OMI_physics_body": { | ||
"trigger": { "shape": 0 } | ||
} | ||
}, | ||
"name": "BoxShapeTriggerDirect" | ||
}, | ||
{ | ||
"children": [6], | ||
"extensions": { | ||
"OMI_physics_body": { | ||
"motion": { "type": "kinematic" } | ||
} | ||
}, | ||
"name": "KinematicIndirect", | ||
"translation": [-2, 0, 0] | ||
}, | ||
{ | ||
"children": [7], | ||
"name": "IntermediaryNodeKinematic" | ||
}, | ||
{ | ||
"extensions": { | ||
"OMI_physics_body": { | ||
"collider": { "shape": 0 } | ||
} | ||
}, | ||
"name": "BoxShapeKinematicIndirect" | ||
}, | ||
{ | ||
"children": [9], | ||
"extensions": { | ||
"OMI_physics_body": { | ||
"trigger": {} | ||
} | ||
}, | ||
"name": "TriggerIndirect", | ||
"translation": [-2, 0, -2] | ||
}, | ||
{ | ||
"children": [10], | ||
"name": "IntermediaryNodeTrigger" | ||
}, | ||
{ | ||
"extensions": { | ||
"OMI_physics_body": { | ||
"trigger": { "shape": 0 } | ||
} | ||
}, | ||
"name": "BoxShapeTriggerIndirect" | ||
}, | ||
{ | ||
"extensions": { | ||
"OMI_physics_body": { | ||
"motion": { "type": "kinematic" }, | ||
"collider": { "shape": 0 } | ||
} | ||
}, | ||
"name": "KinematicSameNode", | ||
"translation": [2, 0, 0] | ||
}, | ||
{ | ||
"extensions": { | ||
"OMI_physics_body": { | ||
"trigger": { "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://cmkrpebetoacu" | ||
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="" | ||
nodes/root_name="" | ||
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.