Skip to content

360 degree collision overhaul #9

@luksamuk

Description

@luksamuk

360 degree collision is fundamentally broken right now, so mode change is commented out.

Needs extra debugging and it may be the case that we might have to rewrite the entire collision system altogether, as the linecast algorithm is quite messy to understand.

This probably needs to be done by the book and looking up other sources. Collision works kinda well right now, but we're simply unable to use the same angles described in Sonic Physics Guide for sprite rotation because generated collision won't cooperate and player sprite positioning looks weird.

Sensors need to be remade and we need to be careful about their debug rendering so it matches closely what we need. Any pixel out of place means a disaster right now.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions