Game Development Community

Vectors!!!

by praju · in Torque Game Builder · 07/30/2010 (8:40 am) · 3 replies

Hi guys,

Lets say i have two values. I want these two values to be the x and y coordinates of a 2d vector. How is it possible???

Thanks in advance!!!

#1
07/30/2010 (2:59 pm)
Vectors

2 fields - "X Y", "1 1"

3 fields - "X Y Z", "1 1 1"
#2
07/30/2010 (4:04 pm)
lets not forget about:
%vec = %x SPC %y
which is a cleaner way of saying:
%vec = %x @ " " @ %y;
#3
07/31/2010 (6:04 am)
Thank you guys!!!!