We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

I found this cool .js camera navigation, can you help me add it to my scene

Home Forums General Questions I found this cool .js camera navigation, can you help me add it to my scene

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #39788
    angus
    Customer

    Hi I found this cool WASD and Q and E camera Navigation system someone created in three.js Can you tell me how I can integrate this into Verge 3D? He’s made it open source on an MIT licence.

    demo
    https://jsantell.github.io/three-simple-fp-controls/

    This is the .js code he used (attached)

    and this is his github
    https://github.com/jsantell/three-simple-fp-controls

    I tried to add the code into my puzzles page using a variable and naming it the same as his but I couldn’t get it to run. Any help with this would be greatly appreciated, I need to get my file with this functionality for a presentation on monday.

    This is my current prototype /presentation scene without the custom navigation.

    home

    #39790

    you can just switch your camera to Flying or First-Person. You can optionally assign a collision material on the floor
    https://www.soft8soft.com/docs/manual/en/blender/Camera.html#firstperson_camera_settings

    Chief 3D Verger | LinkedIn | Twitter

    #39793
    picpic2006
    Participant

    Hi, we have the same question !
    i tried to link it via puzzles with no success, and i can’t see were i can link and manupulate my camera by code.

    have you succeed ?

    #39818
    angus
    Customer

    Thank you Yuri,

    When I changed the camera from Orbit to 1st person I got it working fine, however then the problem is that it only works on desktop, and on mobile it isn’t responsive and doesn’t work, so you lose all navigation on mobile if you use 1st person camera in Blender

    #39820

    Hi,
    see here for instuctions on how to implement FPS controls on mobiles.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.