Game Development Community

How do I create a Point3F object in scripting

by Guilherme Tows · in Torque 3D Professional · 07/18/2011 (12:52 pm) · 3 replies

How do I create a Point3F object in scripting

Why is this not described in documentation

About the author

Recent Threads


#1
07/18/2011 (1:13 pm)
You dont need an object. From script, if a certain function needs a point, just use an string vector:
%position= "5 5 0";
%object.setPosition(%position);
#2
07/18/2011 (4:31 pm)
They are commonly referred to as vectors.
#3
07/21/2011 (1:41 am)
%position = "-100.5 24.115 321";
%vector = "0 -1 0.355";