Alex10 Posted November 29, 2014 Share Posted November 29, 2014 I tried to make a simple FPS on the "height map".I put an example http://www.babylonjs-playground.com/?14# freeCamera and set her property:camera.checkCollisions = true;then begin terrible brakes. Everything starts to work very slowly. Is it possible as it is optimized? Example:ws http://www.babylonjs-playground.com/#QHWP Quote Link to comment Share on other sites More sharing options...
Dad72 Posted November 29, 2014 Share Posted November 29, 2014 I have edite your scene.that more your scene grow up with a lot of accidents (mountain, hill ...) and a very strong subdivision, detection of collision will be very costly calculated.with what I did, the fps is still correct and you forget to apply gravity to the scene too. http://www.babylonjs-playground.com/#QHWP#2 qqdarren 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.