Minecraft Combat Help

I am looking to make a game where it would have minecraft like combat (first person melee) and I was searching for answer on where I should start

Look into raycasting, here’s some posts:

I would raycast forwards from the players camera a certain distance, and use it’s results to get what the player is hitting.

1 Like