diff options
| author | iamcheeseman <[hidden email]> | 2026-02-13 20:42:28 -0500 |
|---|---|---|
| committer | iamcheeseman <[hidden email]> | 2026-02-13 20:42:28 -0500 |
| commit | 1ff729f696c895f81f0cf0d1b8a2cca1d6e43eb8 (patch) | |
| tree | 040bf0ffe933d424951159380af83c927a55a9fe /src/platform.odin | |
| parent | c6261cc09f97568ad5ea966662697e01ea17b861 (diff) | |
simple raycasting mmmmmm
Diffstat (limited to 'src/platform.odin')
| -rw-r--r-- | src/platform.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform.odin b/src/platform.odin index 38ce950..b12551f 100644 --- a/src/platform.odin +++ b/src/platform.odin @@ -9,7 +9,7 @@ Platform :: struct { } make_platform :: proc(rect: Rect) -> (Entity_Handle, ^Platform) { - handle := phys.make_body(transmute(phys.Rect)rect) + handle := phys.make_body(transmute(phys.Rect)rect, layers = {.Hard}) return make_entity(&state.platform_list, Platform{body = handle}) } |
