Skip to content

Commit

Permalink
Fix blocksbuster example
Browse files Browse the repository at this point in the history
  • Loading branch information
aglitchman committed Jun 25, 2024
1 parent 362b2c6 commit 9a2aaf4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
6 changes: 4 additions & 2 deletions examples/scenes/blocksbuster/blocksbuster.collection
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ instances {
prototype: "/examples/scenes/blocksbuster/buster.go"
position {
x: 0.0
y: 0.05
y: 0.0
z: 3.5
}
rotation {
Expand All @@ -108,7 +108,7 @@ instances {
}
scale3 {
x: 2.0
y: 0.1
y: 2.0
z: 2.0
}
}
Expand Down Expand Up @@ -249,6 +249,8 @@ embedded_instances {
" z: 0.0\n"
" w: 1.0\n"
" }\n"
" property_decls {\n"
" }\n"
"}\n"
""
position {
Expand Down
9 changes: 5 additions & 4 deletions examples/scenes/blocksbuster/buster.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ embedded_components {
""
position {
x: 0.0
y: 0.0
y: -0.45
z: 0.0
}
rotation {
Expand Down Expand Up @@ -61,8 +61,9 @@ embedded_components {
" }\n"
" index: 0\n"
" count: 2\n"
" id: \"\"\n"
" }\n"
" data: 1.0\n"
" data: 0.5\n"
" data: 10.0\n"
"}\n"
"linear_damping: 0.0\n"
Expand Down Expand Up @@ -94,7 +95,7 @@ embedded_components {
""
position {
x: 0.0
y: -0.9
y: -0.495
z: 0.0
}
rotation {
Expand Down Expand Up @@ -142,7 +143,7 @@ embedded_components {
""
position {
x: 0.0
y: 0.0
y: 0.011303
z: 0.0
}
rotation {
Expand Down
2 changes: 1 addition & 1 deletion game.project
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type = 3D
max_collisions = 10000
max_contacts = 10000
ray_cast_limit_3d = 1000
trigger_overlap_capacity = 100
trigger_overlap_capacity = 1000
world_count = 5
use_fixed_timestep = 1
max_collision_object_count = 2000
Expand Down

0 comments on commit 9a2aaf4

Please sign in to comment.