Announcement

Collapse
No announcement yet.

problem with adding impulse to a ball

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

    problem with adding impulse to a ball

    I am creating a third person football game and i want to add impulse to the football , this is the blueprint ive created and whenever i click on the left mouse button it shoots the ball ,but the problem is that it shoots the ball even if im not in contact with the ball.
    please tell me what am i missing as i am new to unreal engine and i havent mastered blueprints.

    #2
    I'm assuming your ball is controlled by a player... and seems like you also have a Box collision added to the ball bp. Before you add the impulse, you should be able to check if your player character is overlapping the collision box. If he is only then it should do the impulse.

    Comment

    Working...
    X