Hi, I would like to have an object that can be placed by the player. I understand how to properly set the xyz coordinates of the object using trigonometry so that it is always in front of the player; however, I would like it to have collision detection!

My guess is that I have to use the c_move and c_rotate instructions-- except I can't seem to figure out how to set that up so that the object moves while still being a distance in front of the player. Can anyone describe or share a code snippet?

Thank you for your help!