Search Unity

Can I restrict to move on only x axis?

Discussion in 'Assets and Asset Store' started by lilyyy1324_unity, Jun 22, 2020.

  1. lilyyy1324_unity

    lilyyy1324_unity

    Joined:
    May 11, 2020
    Posts:
    1
    I'm making a cabinet. It's only able to pull and push. Currently I'm using touchscript for touch control. Can I restrict to only move on x-axis? Thx


    cabinet.PNG

    touchscript.PNG