Strange behavior of PieceComponent

Hey,

I just finished everything up to the point where PieceComponent is working. It looks like this:

Tetris_PieceComponent

As you can see, the offset between the rotated pieces is off (too big, too small) for all pieces but the O-Piece.
Anybody got an idea what I got wrong?

Hi,
It seems like you add your pieces to the wrong positions, have a closer look at the project description, maybe your implementation interprets the given coordinates in a wrong way.

1 Like