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

Camera with parent producing incorrect rotation #90

Open
NorthWindH opened this issue Nov 29, 2012 · 0 comments
Open

Camera with parent producing incorrect rotation #90

NorthWindH opened this issue Nov 29, 2012 · 0 comments

Comments

@NorthWindH
Copy link

A camera positioned at [1,1,1] and targeting [0,0,0] seems to produce a different viewpoint from a camera with position [0,0,0], rotation [0,0,0] bound to a parent object with position [1,1,1] and rotation [-45,45,0]. Why is this?

Sample:

http://pastebin.ca/2257846

Run Instructions:

  1. Place the sample in the cubicvr samples/basic folder.
  2. cd into the cubicvr root directory and execute python -m SimpleHTTPServer
  3. Navigate to localhost:8000 then navigate to samples/basic and execute the script.
  4. Open up the console and type fix() or unfix() to view the two viewpoints.
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