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

Clarify angularVelocity and angularAcceleration #177

Closed
brianchirls opened this issue Jan 19, 2017 · 3 comments
Closed

Clarify angularVelocity and angularAcceleration #177

brianchirls opened this issue Jan 19, 2017 · 3 comments

Comments

@brianchirls
Copy link

Is the vector the direction of the axis while the magnitude of the vector is the angle of rotation around that axis? Is positive rotation counter-clockwise?

Or is it something else?

If anybody has any sample code of how to work with these values, that'd be helpful. For example, using angularVelocity to determine the velocity of a child object at given offset from the center of the controller - like if you're swinging a tennis racket and want to know the velocity of the end where you hit the ball.

Thanks.

@toji
Copy link
Member

toji commented Feb 6, 2017

Possibly made moot by #185, depending on the outcome of that discussion.

@klausw
Copy link
Contributor

klausw commented Mar 27, 2017

See also #212 , different implementations currently disagree on the reference frame for these vectors.

@toji
Copy link
Member

toji commented Apr 5, 2017

#212 is addressed now, and @klausw has helpfully provided some visualizations for the values in the controllers sample. Hopefully that addresses this issue as well.

@toji toji closed this as completed Apr 5, 2017
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

3 participants