Forum rules - please read before posting.

Swipe to rotate

Hello, I'm trying to make a 3d puzzle and need to rotate the location. I have no player on the scene, just side camera look, I need to swipe left-right to rotate the location around just the x/y axis (like Door games). What movement type shall I choose? and how to make swipes. Thanks

Comments

  • Z-axis actually:)
  • Welcome to the community, @Julia.

    The "GameCamera Third-person" camera type in the Scene Manager can be rotated around the Z-axis by dragging. You'll need to create an Empty in the scene that acts as the pivot-point for it, and then assign that as the camera's Target in its Inspector.

    Having it rotate only horizontally is then a case of setting its Minimum pitch and Maximum pitch angle fields to the same value. This'll prevent it from moving vertically.

    To have it respond to dragging, check Is drag-controlled? at the bottom.

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.