Game Development Community

%obj.getPosition + 0 0 5 units extra z axis?

by Steve Acaster · in General Discussion · 01/25/2010 (5:50 pm) · 2 replies

Sigh ... I've forgotten the correct syntax for returning a point in space near an object.

eg:
%obj.getPosition() + 5 units higher ...

#1
01/25/2010 (6:00 pm)
%newPos = VectorAdd(%obj.getPosition(), "0 0 5");
#2
01/25/2010 (6:09 pm)
Doh! Of course it is. Thanks, Ryan