Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotate body #4

Open
spassvogel opened this issue Dec 1, 2015 · 0 comments
Open

Rotate body #4

spassvogel opened this issue Dec 1, 2015 · 0 comments

Comments

@spassvogel
Copy link
Owner

To prevent the 'exorcist effect', the body should start to rotate with the head after a threshold rotation (90 degrees left or right) has been hit. Probably it would look best with some easing function applied to it. Bear in mind that then the head rotation will have to be negatively offset with this body rotation (otherwise it will have rotated too far)

It might be cool to use an approach where the torso would rotate first (for the first say, 45 degrees after the 90 degree threshold) and only after that the lower body would rotate to stay in line. Many games do this. Hope I'm making sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant