Announcement

Collapse
No announcement yet.

Movement, pawn and actor

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

    Movement, pawn and actor

    Hi folks,

    I got some questions/problems that I hoped someone could answer if they got the time
    I'm trying to make the game pong. I'm using static mesh(plane) with texture, same as in "Tappy Chicken" I believe.
    The blueprints I got questions for is the blueprints for "Paddle" and "Ball". Their parent classes is "Pawn" and "Actor".

    My questions are:
    1. How should I move the paddle so it can't move through walls.
    If I've understood it correct, the Pawn class doesn't have a moveable "Movement Component"? So I move my paddle with this(Both "Move" and "Test" seems to be the same):
    Click image for larger version

Name:	Move.jpg
Views:	1
Size:	232.3 KB
ID:	1136451
    What I got so far does move the paddle, however, it doesn't stop at wall/detect hit events(It does detect overlap). The collision presets is set to "BlockAllDynamic".

    2. Same question as above, only difference is that ball is an Actor and collision presets is set to "OverlapAllDynamic". Can actors be moved? Do they have any movement component?

    Thanks for your time

    Alkow
Working...
X