mojojojo Posted April 29, 2016 Share Posted April 29, 2016 Hi, I'm trying to customize the camera inputs, but camera.inputs property is undefined. I am using the ArcRotateCamera, nothing custom. http://doc.babylonjs.com/tutorials/Customizing_Camera_Inputs Anyone had this issue before? Suggestions? Cheers Quote Link to comment Share on other sites More sharing options...
RaananW Posted April 29, 2016 Share Posted April 29, 2016 camera.inputs is being initialized in the camera's constructor - https://github.com/BabylonJS/Babylon.js/blob/master/src/Cameras/babylon.arcRotateCamera.ts#L210 If it is not available there are two reasons I can think of: 1) Something went wrong during the initialization of the camera. 2) You are using an older version of Babylon.js For 1, check the console and search for errors. for 2, check the console and make sure that 2.4 is being used mojojojo 1 Quote Link to comment Share on other sites More sharing options...
mojojojo Posted April 29, 2016 Author Share Posted April 29, 2016 Hi, indeed - i was using version 2.3.. Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.