Announcement

Collapse
No announcement yet.

Single Line Trace somtimes goes through landscape

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Single Line Trace somtimes goes through landscape

    Hey,
    I'm trying to get the location where the trace hit the landscape.


    Click image for larger version

Name:	wpbvmlx3.png
Views:	1
Size:	29.5 KB
ID:	1140952


    Unfortunately on some locations, the trace doesnt hit the landscape and is just going through it.
    The camera is below the landscape, that's why it seems to be invisible in the image below.




    It just happens on some locations, mostly it works. It's not random, if it works once it always works, and if it's going trough on some location, it always does.
    The Landscape is the only object which is blocking the Terrain Trace Channel.

    I really would like to know whether this is a bug or I am doing anything wrong?
    Attached Files
    Last edited by John Alcatraz; 11-18-2014, 04:49 PM.
    Easy to use UMG Mini Map on the UE4 Marketplace.
    Forum thread: https://forums.unrealengine.com/show...-Plug-and-Play

    #2
    No idea? I really would like to continue, but this "bug" doesn't let me...
    Easy to use UMG Mini Map on the UE4 Marketplace.
    Forum thread: https://forums.unrealengine.com/show...-Plug-and-Play

    Comment


      #3
      trace complex?
      Free Inventory System (BP AND C++ Version): Clicky Clicky
      Player Structure System (Houses!) (BP): Pew Pew Marketplace Version: Yoink!
      Howto: Create Dragable UMG Windows: Zoom Zoom

      Comment


        #4
        I already tried this, it doesn't make any difference.
        Easy to use UMG Mini Map on the UE4 Marketplace.
        Forum thread: https://forums.unrealengine.com/show...-Plug-and-Play

        Comment


          #5
          Are you sure that those traces dont hit? have you counted the "misses"? maybe its a display bug
          Free Inventory System (BP AND C++ Version): Clicky Clicky
          Player Structure System (Houses!) (BP): Pew Pew Marketplace Version: Yoink!
          Howto: Create Dragable UMG Windows: Zoom Zoom

          Comment


            #6
            I'm absolutely sure they don't hit. The problem is that every of these traces which is going through is returning the location (0,0,0). And I really notice that in game. Objects which should spawn at the location are jumping between the real position and (0,0,0).
            Easy to use UMG Mini Map on the UE4 Marketplace.
            Forum thread: https://forums.unrealengine.com/show...-Plug-and-Play

            Comment


              #7
              could you give me some more input on the whole thing? you can also pm me if you want.
              Free Inventory System (BP AND C++ Version): Clicky Clicky
              Player Structure System (Houses!) (BP): Pew Pew Marketplace Version: Yoink!
              Howto: Create Dragable UMG Windows: Zoom Zoom

              Comment


                #8
                What exactly is "more input"? This is the whole Blueprint Function:

                Click image for larger version

Name:	problem.PNG
Views:	1
Size:	194.3 KB
ID:	1061242

                The landscape the trace should hit is just a flat landscape.

                Click image for larger version

Name:	problem2.PNG
Views:	1
Size:	55.0 KB
ID:	1061244
                Easy to use UMG Mini Map on the UE4 Marketplace.
                Forum thread: https://forums.unrealengine.com/show...-Plug-and-Play

                Comment


                  #9
                  Have you tried to change the collision thickness? to like 32 or so
                  Free Inventory System (BP AND C++ Version): Clicky Clicky
                  Player Structure System (Houses!) (BP): Pew Pew Marketplace Version: Yoink!
                  Howto: Create Dragable UMG Windows: Zoom Zoom

                  Comment


                    #10
                    yes, I tried that, doesn't change anything.
                    Easy to use UMG Mini Map on the UE4 Marketplace.
                    Forum thread: https://forums.unrealengine.com/show...-Plug-and-Play

                    Comment


                      #11
                      Hello,
                      couldn't it be the collision of your mesh which has a trouble? If for some reason you have some holes due to a glitch on update or something ? Only an idea to help...

                      Comment


                        #12
                        I deleted the whole landscape and created a new one, same problem
                        Easy to use UMG Mini Map on the UE4 Marketplace.
                        Forum thread: https://forums.unrealengine.com/show...-Plug-and-Play

                        Comment


                          #13
                          :-( Have you try if you have the same issue with basic line traces ?

                          Comment


                            #14
                            What is a "basic line trace"?
                            Easy to use UMG Mini Map on the UE4 Marketplace.
                            Forum thread: https://forums.unrealengine.com/show...-Plug-and-Play

                            Comment


                              #15
                              Sorry, i meant trace channel (visibilty / camera) when other meshes don't block for example.

                              Comment

                              Working...
                              X