Author Topic: Bots facing upwards?  (Read 2040 times)

I've been running into abit of problem trying to get bots to face upwards;

%bot.setAimDestination(subVector(%bot.getPosition(), "0 0 1"));

And I've tried

%bot.setAimDestination(subVector(%bot.getPosition(), "0 0 -1"));
But both seem to make the bot face downwards, and ideas?



I've been running into abit of problem trying to get bots to face upwards;

%bot.setAimDestination(subVector(%bot.getPosition(), "0 0 1"));

And I've tried

%bot.setAimDestination(subVector(%bot.getPosition(), "0 0 -1"));
But both seem to make the bot face downwards, and ideas?
Try
%bot.setAimDestination(Vectoradd(%bot.getPosition(), "0 0 3"));
« Last Edit: January 22, 2008, 05:19:00 PM by rkynick »

Use:

%bot.setAimDestination(vectorAdd(%bot.getPosition(),"0 0 10"));

You wrote the functions wrong.

It's VectorAdd/Sub not Sub/AddVector :D