Skip to content

Commit

Permalink
add cylinder physics collider
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Aug 20, 2024
1 parent 1d9be89 commit e6bfdab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spatial/wit/wired-physics/world.wit
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ interface types {
set-density: func(value: f32);
}

record shape-cylinder {
height: f32,
radius: f32,
}

variant shape {
cuboid(vec3),
cylinder(shape-cylinder),
sphere(f32),
}

Expand Down

0 comments on commit e6bfdab

Please sign in to comment.