Hitbox Help
-
I’m trying to make Tetris but with physics, the hitboxes aren’t working right. Can someone help, please?
-
@s9205307-810c679a You want a compound body (I think thats what it’s called) not a convex hull
-
For a game like Tetris, you don’t really need very complex physics, right? The key is collision detection, which can be done using the original “touching” blocks. So it might be overkill to use the physics engine for it.
-
@tyller_ i did that but it stayed frozen in the air
-
@info-creaticode I know that but I wanted to remake the game but with physics
-
In that case, please share your project and post the link. Also, you can try to use the “debug” option to show the physics body attached to your compound
-
@s9205307-810c679a tetris with physics doesn’t sound like a good idea unless it’s an experiment or something. Like what if there’s some small disturbance now you have angled tetrominoes/pieces. Also that would make the game’s current gameplay much harder such as techniques where you try to put something in a tight place by flipping it very quickly before it hits the ground or other blocks would now become obsolete/not work at all.