Announcement

Collapse
No announcement yet.

Actor overlapping another actor

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

    Actor overlapping another actor

    Hey

    I have two custom pawns extending from UDKPawn; the player pawn and an AI.
    When I move close to the AI, the player pawn calls "BaseChange" and bases itself on top of the other AI pawn. All I need is for the AI pawn to "block" the player pawn, not let him jump over him.

    I've set bCanBeBaseForPawns to false on both pawns, but it is still calling "BaseChange". Is there any way to just block the pawn, and not overlap it???

    This video demonstrates the problem.


    Cheers

    #2
    Bump........

    Comment


      #3
      BaseChange is actually an event which let the script notify that the base has changed. There must be a different code which sets the player on top of the other player. For instance, you could have a Bump-event which calls SetBase.

      Comment


        #4
        Originally posted by RattleSN4K3 View Post
        BaseChange is actually an event which let the script notify that the base has changed. There must be a different code which sets the player on top of the other player. For instance, you could have a Bump-event which calls SetBase.
        I checked the "Bump" event. It is being called, but the function is empty.

        Comment


          #5
          bump.......

          Comment

          Working...
          X