Joshua Red Posted May 15, 2019 Share Posted May 15, 2019 Hi there, I'm currently building a FPS game with babylon.js (love the engine <3) and sometimes the player has a sniper rifle, and when they scope I would like to: 1. Have the UniversalCamera zoom in. 2. Decrease the UniversalCamera's angularSensibility (pan around slower). 3. Overlay a recticle image. Right now I know how to do 2 & 3 but not 1. I've looked around, searching for a way for the camera to zoom in but without luck. I'm wondering if BJS has a function for this, or if not, is there some other way I can achive this? If any of you guys know how I can achive this please let me know, thanks. PS. I haven't posted any code since I think this is a general question, let me know if you want the code though. Quote Link to comment Share on other sites More sharing options...
MarianG Posted May 21, 2019 Share Posted May 21, 2019 Hi @Joshua Red If you didn't do it yet, please post your question here https://forum.babylonjs.com Quote Link to comment Share on other sites More sharing options...
Joshua Red Posted May 23, 2019 Author Share Posted May 23, 2019 Hi there @MarianG, yes I saw that BJS moved to a new forum, I've posted my question here https://forum.babylonjs.com/t/bjs-universalcamera-zoom-in/3289 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.