We know the player position and rotation. We have to create a box in front of the player, facing the same direction as the player. We know the width and length of the box.
I need help to figure out the math to calculate the bottom left Point and the Top right Point of the box area in front of the player.
We use the player position as origin, and the player Y rotation to make sure the box is facing the player.
An image explaining my issue visually : [login to view URL]
12 pekerja bebas membida secara purata €23 untuk pekerjaan ini
Hello, I have strong background in mathematics and algorithm. Your problem is not a big deal for me. I can do it within few hours. Plz contact me for more details. Thank you.
Hi! I've been working on similar problems dealing with transformations on a plane in the video games industry in both 2D and 3D for years and would be able to help you out with this and possibly any future problems.