CodeIain Posted April 10, 2015 Share Posted April 10, 2015 Hi Guys, Am new to Babylon.js. I am running into some issues using the VirtualJoysticksCamera with a height map. I followed this tutorial to build me first FPS. I updated the camera from the FreeCarmera to a VirtualJoystickCamera that works great!! When I try and update the ground from a solid plane to a heightmap everything looks great but when ever I try and move the camera using the left joystick (the blue one) the frame rate drops to about 5 fps. Also if I try and move the camera its really jerky and use camera cant move over the height map, it gets stuck on the smallest contour. I have uploaded my code here Any help would be great. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 10, 2015 Share Posted April 10, 2015 Hello this is because of Collisions. Doing collisions against a complicated mesh is not a good idea 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.