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.

Collision in Firstperson Camera

Home Forums Puzzles Collision in Firstperson Camera

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #61484
    saurav
    Participant

    In the Firstperson Camera example available in the store, I experienced a collision feature, i.e. the player is able to collide with the walls and windows. But I there is no puzzle whatsoever regarding this collision property in their puzzle files.

    How did they achieve this feature? Any ideas on what I am missing?

    #61486

    There’s a collision mesh that used as a floor for camera. Where no floor camera will nor walk there, so in fact there’s no collision with walls ant others. Read docs at First-Person camera chapter.

    Co-founder and lead graphics specialist at Soft8Soft.

    #61497
    kdv
    Participant

    Check out the “Firstperson Camera” demo https://cdn.soft8soft.com/demo/blender/firstperson_camera/firstperson_camera.html to see how the collision mesh works

    If you want really good working collisions then pay attention to this demo https://threejs.org/examples/?q=game#games_fps

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #61568
    saurav
    Participant

    Ohh :yahoo: , It is a good idea, but how did it understood not to pass through the floor collision mesh. Where is this understanding established?
    In which file will I find it?

    #61581
    kdv
    Participant

    Open the source file (.blend) and see. No puzzles needed, just create the proper navmesh with collision material.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

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