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.

Question about collision material problem when appending scenes

Home Forums Puzzles Question about collision material problem when appending scenes

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #52093
    gjaxxx
    Customer

    Greetings Verge3D

    I have a question about the Collision Material…

    I am building a 3D environment (with Blender) for an upcoming exhibition, it consists of a main Scene where the ‘player’ spawns when entering the world. And several places (GLTF scenes) where a player can go to.

    In the Main Scene there is a door that connects to all the different places (GLTF scenes) Besides this door there are buttons to choose from that load (append) the different scenes behind the door, when a button is clicked, the corresponding scene is loaded and when loading is done the door opens.
    Everything works but for some reason i can not enter the loaded (appended) scene, the camera stays the same (GLTF scenes are appended) and every scene has the same collision material.

    It seems to be a problem with the collision material, i can only walk as far as the collision material of the main scene, but not continue walking into the appended scene even though the collision material of both scenes are the same and the meshes that have the collision material connect …

    Ill ad a little screen capture vid here to visualize the problem…
    Hope someone can help !
    Best

    GJ

    #52097
    xeon
    Customer

    Just a guess but I would imagine that if your collision material in the second room is the same as the first then you could have problems if that material also doesn’t exist in your hallway between the rooms.

    You will have to do some testing to determine if the position of the camera is inside the room prior to constraining it if the constraint material is not continuous. You might want to add a camera tween event to move the person into the room guaranteeing the camera is inside your other floor before allowing them to move about.

    Based on what I can see in your video your camera may be colliding with the first room’s collision material at the end of the hallway?

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

    #52125
    gjaxxx
    Customer

    Hi Xeon, thank you for the quick reply !
    I fixed the problem, In the end it was the collision material name, i didn’t notice that the collision material name in the 2e room had an extra .(dot) for some reason. so the collision material name was slightly different in both scenes and that was the reason it didn’t work. A, Slightly embarrassing, mistake on my end :whistle:
    Cheers !

    #52134
    xeon
    Customer

    Glad you found and fixed the problem.

    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.