Can someone tell me how to increase FOV and blur the screen a bit when a key is pressed?
After I know that I can add a bit more feedback for when you are sprinting or crouching
Fov is easy:
myActiveCameraEntity.camera.fov = 90;
For blurring you need to apply a post process effect, take a look at these engine examples:
2 Likes
Thanks for the quick response
how would i define myActiveCameraEntity?
For example in the function where you use it:
var myActiveCameraEntity = this.app.root.findByName("Camera");
1 Like