-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
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.