playMaker

Author Topic: Set only x value of vector  (Read 1573 times)

mthicke

  • Playmaker Newbie
  • *
  • Posts: 11
Set only x value of vector
« on: January 29, 2014, 10:19:41 PM »
How do I set only the x value of a vector where x is stored in a variable?

Basically I want to move an object to the same x, y location as another object but keep it at the same z location.

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Set only x value of vector
« Reply #1 on: January 29, 2014, 11:23:33 PM »
Set vector XYZ action has the ability to just set X value (or Y,Z)
but you could just use the set position action to move the object in X
« Last Edit: January 29, 2014, 11:25:04 PM by LampRabbit »