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

Set part.angle in Body.update. #298

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 4, 2016

  1. Set part.angle in Body.update.

    This change fixes a discrepency between `Body.setAngle` and `Body.update`.
    
    Calling `part.angle` should always return the world space angle of the part.
    
    In `Body.setAngle`, `part.angle` is correctly updated for every part.
    This maintains the invariant.
    
    In `Body.update`, `part.angle` was previously not being updated.
    This led to stale values returned for `part.angle`.
    Kenneth Rose committed Oct 4, 2016
    Configuration menu
    Copy the full SHA
    a36c6a6 View commit details
    Browse the repository at this point in the history