Forum rules - please read before posting.

Limit FP camera rotation

Hey there!

I was wondering, is it also possible in AC to limit the fiirst-person camera's left/right rotation? Because in my game, i don't want the player to be able to turn their head 360°..

Comments

  • The left/right rotation is controlled by the "CursorHorizontal" input.  You can disable this rotation by removing this input from Unity's Input manager.
  • Hm okay, but what if i want to limit it to a specific degree? So you can only turn your head to the left and right slightly for example.
  • For something so unique to your own game, you would have to implement a custom motion controller.  There is a tutorial on doing so here, and the included Ultimate FPS Integration script is an example of how a FPS asset can be integrated with AC.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.