You can just make a sprite in the shape and size of the field of view and pin it to the object
you could have an invisible object in the center of the ground that always points towards the player, and then have the player constantly set its angle to the same angle as the invisible object. not sure if this would work, but its worth a shot.
I have an object which will change angles alot, and i need to be able to set its angle to the value of its instance variable
Develop games in your browser. Powerful, performant & highly capable.
I don't think you can other than giving it the illusion of 3d, however i have noticed that on the bottom left of the window, where it shows the mouse coordinates, there is a z axis. dunno what thats about
Member since 16 Dec, 2017