Commit dca6cb4
Void runner: Become the forest a collider
By changing the node type to StaticBody2D. Just like the
StartingIslandTrees nodes.
Also adjust the polygon shape by smoothing the corners, so the player
collides nicely with it.
The polygon should potentially continue be used for refilling the area
with trees. But making its shape smoother and preventing hard edges as
it fades into the water was more important here, than keeping a good
shape for refilling. And adding 2 polygons (one for colliding, one for
filling) would be a bit confusing.
#17531 parent 95c5af8 commit dca6cb4
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
| 415 | + | |
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| |||
0 commit comments