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

Input management for cameras #1030

Merged
merged 14 commits into from Mar 9, 2016
Merged

Input management for cameras #1030

merged 14 commits into from Mar 9, 2016

Conversation

gleborgne
Copy link
Contributor

Should be better


//deprecated
public set keysLeft(value) {
Tools.Warn("Warning: keysLeft is deprecated on ArcRotateCamera, use camera.inputs.attached.keyboard.keysLeft instead.");
Copy link
Contributor

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

@deltakosh
Copy link
Contributor

OMG This is what I can call a PR :D
Thanks a lot..please update file list in the doc and credit yourself in the what's new in the "major update" section !

Docs to be updated:

Thanks again 👍

deltakosh added a commit that referenced this pull request Mar 9, 2016
Input management for cameras
@deltakosh deltakosh merged commit ab97dca into BabylonJS:master Mar 9, 2016

//Input manager
if (parsedCamera.inputs){
camera.inputs.parse(parsedCamera);
Copy link
Contributor

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)

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

Successfully merging this pull request may close these issues.

None yet

2 participants