Jump to content

Height Map and VirtualJoysticksCamera 5 FPS


Recommended Posts

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.



Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...