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

Make graph rotatable #43

Open
ekalosak opened this issue Sep 28, 2022 · 0 comments
Open

Make graph rotatable #43

ekalosak opened this issue Sep 28, 2022 · 0 comments
Labels
enhancement New feature or request P3 Default priority, should get done

Comments

@ekalosak
Copy link
Owner

Currently wasd controls the camera.
Make ijkl rotate the graph itself.

To do so:

  • Parent the p3d.nodes to a p3d.node at the center of mass.
  • Then add task or event for handling ijkl input.
  • You'll be able to tell it works if when using ijkl the graph moves but the lighting (which is relative to the scene) does not.

This enables p3d physics (change angle of p3d nodes relative to z axis).

@ekalosak ekalosak added enhancement New feature or request P3 Default priority, should get done labels Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P3 Default priority, should get done
Projects
None yet
Development

No branches or pull requests

1 participant