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.

Blender 4.2: First Person environment with texture based collision map

Home Forums Graphics / Blender Blender 4.2: First Person environment with texture based collision map

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #79058
    Xanathon
    Customer

    Hello,

    I am very new to Verge3D, bought the license yesterday. I am quite happy how easy it is to export scenes and models from blender.

    I have a problem, however. I am building an art gallery to walk through in first person mode. The Blender camera approach works fine so far. I found the First person camera approach with a capsule and an head vertext to attach the cemara to in the documentation, but that information seems to be outdated, the puzzle elements look different. i found a post here in the forum where one of the devs said to not use that approach, but only the first person camera from Blender.

    So I did that.

    However: I created an additional plane that is the same size as the floor and added a texture to it as a collision texture. I hid the plane in render. I was under the impression from what I read here: https://www.soft8soft.com/docs/manual/en/blender/Camera.html#firstperson_camera_settings
    that this should create a collision detection via the collision texture.
    You can see the setup here, left is the UV-mapped texture, right the floor collision plane is visible and you can see the red borders. However, if I preview this and also if I export it, I can walk through the walls.
    Collision Map

    What am I doing wrong? TIA!

    • This topic was modified 10 hours, 57 minutes ago by Xanathon.
    #79069

    Hi Xanathon,

    Your scene looks nice!

    In order to block the user from entering wrong space, you should remove the corresponding parts from your collision mesh (image texture won’t work). BTW, you can download the stock FirstPerson Camera demo from the Asset Store where this feature is implemented.

    Chief 3D Verger | LinkedIn | Twitter

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