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.

general camera collision with objects

Home Forums General Questions general camera collision with objects

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #43485
    visualizer
    Customer

    Hi
    can anyone refer to simple setup of a camera inside a room with few objects which collides when touched?

    example – A camera can move freely inside room but while going in other room it will not pass through the walls

    How to overcome the error shown in the attached image “physics module not found”?.

    Attachments:
    You must be logged in to view attached files.
    #43510
    jdhutchinson
    Customer

    For ‘Physics module not found’:

    1. Copy the two files in my attached img to the location of your verge project.

    2.

      <!-- favicons -->
      <link rel="apple-touch-icon" sizes="180x180" href="media/apple-touch-icon.png">
      <link rel="icon" type="image/png" sizes="32x32" href="media/favicon-32x32.png">
      <link rel="icon" type="image/png" sizes="16x16" href="media/favicon-16x16.png">
      <link rel="manifest" href="media/manifest.json">
      <link rel="mask-icon" href="media/safari-pinned-tab.svg" color="#5bbad5">
      <meta name="theme-color" content="#ffffff">
    
        <script src="ammo.wasm.js"></script>
    
      <script src="v3d.js"></script>
      <script src="name of your app"></script>
    
      <link rel="stylesheet" type="text/css" href="Ross_Tiger_02.css">
    </head>
    

    add the reference to ammo.wasm.js in the header of *name of your app*.html file.

    Attachments:
    You must be logged in to view attached files.
    #44308
    visualizer
    Customer

    Aah ok
    I will check with these tips! :)

    #44542
    xeon
    Customer

    He Visualizer….. you can do this by using a collision material.
    … you will want to create a floor that just smaller than your regular floor assign it the collision material, then hide it….then in the verge settings for the camera…select first person…then select the collision material…..
    The camera will stay within the bounds of the collision material and your camera will not go through the walls :-)

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

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