Author Topic: Non-rotating player camera?  (Read 532 times)

Can someone give me a bit of code that I can put into a playertype script that allows the player to rotate, but the camera always faces a specific direction? I kinda want it at a 45 degree angle from top down, but I think I got that part.

The only way to do this would be similar to how the 2d playertype works.

I can't seem to find that add-on, could someone give me a link to the 2D playertype?



Oh, it's an event. That's why I couldn't find it.
There's a 2D playertype included in there but it affects the controls, not the camera. I sorta forget what it does. There's also a top-down playertype, but you don't get as much control. I've never tried using the event on the top-down playertype.

Actually, upon trying the 2D event thing, I found out that's exactly what I wanted. I can edit the code to get the right angles and such. Thanks guys!