aWeirdo Posted March 27, 2016 Share Posted March 27, 2016 I'm looking to do a bird-view, slightly angled(fixed angle) camera which you can move on the x/z axises by clicking and dragging your mouse, simular to warcraft 3. Example of view angle (no moving): http://www.babylonjs-playground.com/#Z6CKI#2 i'm thinking about ArcRotateCamera atm and finding a way to use the mouse to change the target x/z.. but i don't know, would any of the other camera's be better for this task? Update: Desided to go with a automatic movement depending on pointer position, still very simple, Example: ( collapse editor ) http://www.babylonjs-playground.com/#Z6CKI#3 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 27, 2016 Share Posted March 27, 2016 ArcRotate could make it (you can pan when pressing CTRL) Quote Link to comment Share on other sites More sharing options...
aWeirdo Posted March 27, 2016 Author Share Posted March 27, 2016 @Deltakosh Appreciate the answer allthough i changed my mind about the click & move, desided to use another approach, and detect pointer position on the scene and auto move towards that area. First version of it: http://www.babylonjs-playground.com/#Z6CKI#3 ( collapse editor ) Cheers. GameMonetize 1 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.