maybe it's because you've posted it here, and not a lot of people look at this forum yet. but here you go:

Code:

function GetPosVecByRadious(var* SourcePos,angle,distance,var* ReturnedPos)
{
ReturnedPos[0]=distance*cos(angle)+SourcePos[0];
ReturnedPos[1]=distance*sin(angle)+SourcePos[1];
ReturnedPos[2]=SourcePos[2];
}
..
..
..

//my rotates around you
var MyAngle=0;
var MyDistance=100;
while (1)
{
GetPosVecByRadious(you.x,MyAngle,MyDistance,my.x);
MyAngle+=1;
wait(1);
}




this is for lite-c and rotates around the XY-plane, but you should be able to convert it easily if it doesn't suit your needs


INTENSE AI: Use the Best AI around for your games!
Join our Forums now! | Get Intense Pathfinding 3 Free!