Jump to content
A 2021 backup has been restored. Forums are closed and work in progress. Join our Discord server for more updates! ×
SoaH City Message Board

[Help] Omnidirectional rotation


Recommended Posts

The one thing that bothers me about sonic worlds: the rotation.

I've gotten used to it, but I think it takes too much away from the classic feel.

I want to know how to make the rotation in worlds omnidirectional.

I've done tons to try to get it, but i just can't.

The closest i got was when i ported the angle code from the newest version of worlds. It worked for the most part. It wouldn't work while going right, but it would work going left. Also if you went slow sonic would rotate smooth. Its a start, but its the closest I've gotten and i know its possible.

Thank you

(Ps: i hope you guys do this in c worlds :D)

Link to comment
Share on other sites

* Find the code that handles sprite rotation (this is distinct from the physical rotation of sensors and things).

* Change it from one event that sets it based on the physical to 8 separate events constrained by angular windows. Set the sprite rotation to a constant for each of those windows.

I have considered that, but i wasn't sure where to put it.

thank you for the help, i will tell you how it goes

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...