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
Input management for cameras #1030
Conversation
|
||
//deprecated | ||
public set keysLeft(value) { | ||
Tools.Warn("Warning: keysLeft is deprecated on ArcRotateCamera, use camera.inputs.attached.keyboard.keysLeft instead."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually I won't mark them as deprecated. the path to reach the value is too long. Both can live together
OMG This is what I can call a PR :D Docs to be updated:
Thanks again 👍 |
|
||
//Input manager | ||
if (parsedCamera.inputs){ | ||
camera.inputs.parse(parsedCamera); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't be called for old .babylon files
The condition has to be removed (I'll take care of it)
Should be better