![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | kronopy |
So I am making a sort of Pong game as my first project in this engine, but I hit a dead end. The game has 4 paddles on each side of square (arena), so I need to keep the paddles inside the arena, while the ball can exit any side of the arena. I tried having a collision shape with and exit function, combined with static object collisions shapes at the corners to keep the paddles in, but then they become obstacles, and the ball can’t exit trough there. Is there any code or way, in which I can set the space in which the paddles can move without using collision shapes, or anything like that? Thank you.
Have you also tried tinkering with the collision layers and collision masks?
Ertain | 2019-12-31 19:43