Search Unity

Question Proxy Update just on Z Axis

Discussion in 'Unity MARS' started by bananox88, Dec 7, 2020.

  1. bananox88

    bananox88

    Joined:
    Jan 8, 2020
    Posts:
    4
    Hello Marsian ;)

    Do you know a simple way with unity mars to "follow match Updates" but just on one axis?

    I would like my proxy follow the Plane Visualizer Update just on z Axis for my object on proxy does not cross the ground.
    Otherwise i do a script who follow the z axis from Planes Visualizer.

    Thank you for your reply
     
  2. jmunozarUTech

    jmunozarUTech

    Unity Technologies

    Joined:
    Jun 1, 2020
    Posts:
    297
    Hello Back Marsianneer!,

    By default MARS doesnt support restricting axis out of the box (as in we dont have an inspector that you can set which axis you want to restrict), so it would be best to write your own script that takes care of that :)
     
  3. bananox88

    bananox88

    Joined:
    Jan 8, 2020
    Posts:
    4
    jmunozarUTech likes this.