Expression "angle(x1, y1, x2, y2)" will calculate angle between two points. Is that what you asked?
No , i want to Calculate Angle Toward Position of another object ..
look in this example:
dl.dropboxusercontent.com/u/5426011/examples%209/turret.capx
my problem is the turrets fire when they finde the target. but i want they not do that until they rotate toward the target .. like turret behavior
....
i can not use turret behavior because i want to set object with diffrent instance variable as a target