V!nc3r Posted July 3, 2017 Share Posted July 3, 2017 Hi all, is it possible to disable camera movement except rotation, so as to get a streetview-like camera ? I prepare a playground : http://www.babylonjs-playground.com/#K4TSQD Here we have a sphere, with a spherical texture mapped on it, camera is placed on its center, and all we want for now it that user can't move, but still can look around. Is their a way to override movement settings, or other tweaks ? Thanks for helping Quote Link to comment Share on other sites More sharing options...
Temechon Posted July 3, 2017 Share Posted July 3, 2017 Here you go : http://www.babylonjs-playground.com/#K4TSQD#1 V!nc3r and jerome 2 Quote Link to comment Share on other sites More sharing options...
V!nc3r Posted July 3, 2017 Author Share Posted July 3, 2017 Yeah, GG! (for n00bs like me who are wondering, let is (almost) equal to var) Thanks Quote Link to comment Share on other sites More sharing options...
Temechon Posted July 3, 2017 Share Posted July 3, 2017 Sorry, I'm used to write Typescript Get back to 'var' is difficult! Quote Link to comment Share on other sites More sharing options...
V!nc3r Posted July 3, 2017 Author Share Posted July 3, 2017 'added a line for touch input: http://www.babylonjs-playground.com/#K4TSQD#2 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.