Ah finally I figured it out, wasn't easy. It works now.
Thanks.
Search found 6 matches
- Sat Aug 04, 2012 7:57 pm
- Forum: Support and Development
- Topic: Point an arrow to the right angle
- Replies: 13
- Views: 9474
- Sat Aug 04, 2012 5:18 pm
- Forum: Support and Development
- Topic: Point an arrow to the right angle
- Replies: 13
- Views: 9474
Re: Point an arrow to the right angle
OK but in your example it only points from the upper left to a picture down right. What I need is, it could be anywhere within a 360 radius.
What was the code you used?
What was the code you used?
- Sat Aug 04, 2012 3:53 pm
- Forum: Support and Development
- Topic: Point an arrow to the right angle
- Replies: 13
- Views: 9474
Re: Point an arrow to the right angle
I tried reversing the two but no difference.
- Sat Aug 04, 2012 3:00 pm
- Forum: Support and Development
- Topic: Point an arrow to the right angle
- Replies: 13
- Views: 9474
Re: Point an arrow to the right angle
Yes the image is aiming up. But I added 90 to it.
Here is the link to the code http://pastebin.com/XP6zh4rA.
Here is the link to the code http://pastebin.com/XP6zh4rA.
- Sat Aug 04, 2012 2:07 pm
- Forum: Support and Development
- Topic: Point an arrow to the right angle
- Replies: 13
- Views: 9474
Re: Point an arrow to the right angle
No it doesn't give the right angle. I ran it several times, it just never points in the right direction.
- Sat Aug 04, 2012 1:24 am
- Forum: Support and Development
- Topic: Point an arrow to the right angle
- Replies: 13
- Views: 9474
Point an arrow to the right angle
Hi guys, I am trying to make something in which an arrow would aim at another object. The problem that I am having is that I don't know how to get the correct angle/degrees. I need it to automatically calculate the angle to aim at. The arrow would be point1 for example and the object would be at poi...