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.

How to copy Snowballs VR’s FPS Camera System onto my own app?

Home Forums General Questions How to copy Snowballs VR’s FPS Camera System onto my own app?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #54936
    BDCV
    Customer

    As the title suggests, I need a proper FPS camera system for my projects. :good:

    The Physics Guide seems outdated as I tried that setup and it doesn’t work.

    I can see that the Snowballs VR is far more complex but it’s what I need. How is it possible to copy the systems that make that work, and scrap the rest of the scene?

    I’ve attempted this myself but I can only get so far removing things until the scene breaks and gets stuck on loading screen. :yahoo:

    I’m going to use this to display a static city and have the user walk around, nothing crazy.

    #54937
    BDCV
    Customer

    Here’s the project I created from scratch following the Physics Guide.

    • This reply was modified 1 month, 2 weeks ago by BDCV.
    • This reply was modified 1 month, 2 weeks ago by BDCV.
    Attachments:
    You must be logged in to view attached files.
    #54947
    kdv77kdv
    Participant

    You can remove all objects (excluding the scene camera) from the Snowballs VR scene and append your own scene.

    #54949
    BDCV
    Customer

    Thank you for the fast response, I put down your setup on the Main tab after init. It returned me with this warning on line 2:

    “Functions declared within loops referencing an outer scoped variable may lead to confusing [end of warning]”

    My app loads scene, then gets stuck on level of the loading screen.

    When you say delete all objects, are you referring to deleting all 3D files which are not the main scene file? And/or were you referring to puzzles.

    • This reply was modified 1 month, 2 weeks ago by BDCV.
    #54951
    kdv77kdv
    Participant

    I mean all 3D objects inside the scene. This script should be used in the Snowball VR app, after appending the last scene…

    Just forget it )) It’s too complicated to use your scene in the Snowball scene.

    And there’s nothing special in that camera, an ordinary FPS camera… What’s wrong with yours? Do you want to copy FPS controls like moving, jumping, speeding etc.?

    #54982
    BDCV
    Customer

    Well, when I load the basic camera system from within blender (camera settings) it doesn’t strafe from left to right and gets stuck on objects pretty easily.

    I want a solid camera that’s physics based but most importantly is smooth and can actually move from side to side. Jumping is optional but definitely preferred, and same goes for running.

    Essentially just copy the FPS controls.

    #54983
    kdv77kdv
    Participant

    it doesn’t strafe from left to right

    Just allow panning )))

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