playMaker

Author Topic: how to use a float variable as a vector 3?[SOLVED]  (Read 4892 times)

Splankton

  • Sr. Member
  • ****
  • Posts: 268
how to use a float variable as a vector 3?[SOLVED]
« on: November 16, 2013, 06:08:25 AM »
Hi,
How do I use a float variable to move an object along one of its axis?
Using one of the move actions in iTween is ideal, but I can only enter a vector 3.
« Last Edit: November 18, 2013, 01:53:20 AM by jeanfabre »

uberwolfe

  • Junior Playmaker
  • **
  • Posts: 59
Re: how to use a float variable as a vector 3?
« Reply #1 on: November 17, 2013, 05:19:12 AM »
You could use the Set Vector3 XYZ action and feed it your float?

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Re: how to use a float variable as a vector 3?
« Reply #2 on: November 17, 2013, 11:38:13 AM »
You could use the Set Vector3 XYZ action and feed it your float?

Works perfect thanks!