i want to clamp the players yaw rotation to a small cone in the direction their facing. Does anyone know how to do this?
There’s a bunch of ways to do that:
There is also a CameraManager class:
edit: forgot to add that you’ll need forward vector for this.
thanks but I know about those nodes i just cant translate the facing direction into those clamp nodes for yaw correctly using the forward vector. I’ve tried a few ways but i haven’t found a working method. Could someone show me an example please?