Announcement

Collapse
No announcement yet.

Collosion

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

    Collosion

    Hello

    I have a blueprint pawn, At the root i have addad a box collosion.
    in the blueprint i am using AddActorLocalOffset for movement, But when i collide with things i still go strait true them.
    Kevin
    Sorry for my English i'm Dutch

    #2
    Can you please show your Collision settings of the CollisionBox and the Blueprint code you are using.
    Otherwise we can't really help you.
    Open for contracted work | C++/BP (incl. Multiplayer) | Tutoring | VR

    My UE4 Blog/Page with Tutorials and more: Hit me for ALL the things!
    (Including 100+ Pages Multiplayer Network Compendium to get you started.)

    Comment


      #3
      Here are the pic i just want that the Sphere collides with objects i try"d also box. and just aslo a quick question i cant use my Scrol weel in the Input, i does not work

      Click image for larger version

Name:	Photo1.png
Views:	1
Size:	507.8 KB
ID:	1084500
      Click image for larger version

Name:	Photo2.png
Views:	1
Size:	549.9 KB
ID:	1084501
      Kevin
      Sorry for my English i'm Dutch

      Comment


        #4
        Your sphere seems very small , also if the obstacles are too small the pawn sphere would just walk over them.


        But the real problem I think is you haven't checked the Sweep check box in AddLocalOffset Please tick that checkbox and try again

        Comment


          #5
          Do the other objects you collide with actually "block" Pawn object types and are they also set to generate hit events?
          Open for contracted work | C++/BP (incl. Multiplayer) | Tutoring | VR

          My UE4 Blog/Page with Tutorials and more: Hit me for ALL the things!
          (Including 100+ Pages Multiplayer Network Compendium to get you started.)

          Comment


            #6
            I try'd not only pawn but i also did Blockall and that also did not work
            Kevin
            Sorry for my English i'm Dutch

            Comment


              #7
              Originally posted by Commander Shepard View Post
              Your sphere seems very small , also if the obstacles are too small the pawn sphere would just walk over them.


              But the real problem I think is you haven't checked the Sweep check box in AddLocalOffset Please tick that checkbox and try again
              Wow it worked The small Thing's just out of curiosity what does sweep mean.
              Kevin
              Sorry for my English i'm Dutch

              Comment


                #8
                Originally posted by Kevindt123 View Post
                Wow it worked The small Thing's just out of curiosity what does sweep mean.
                sweep means the add location function would technically move the object to the added location as if sweeping it across the world and checking everything that collides with it and stop at the first collision.

                Think of it as how a mop moves on the floor stopping at anything it hits

                With sweep unchecked or disabled add location would simply teleport the object to the new location without taking anything between the current and new positing into account for collision

                Comment

                Working...
                X