SAS mod error or not?

BlitzMax Forums/BlitzMax Beginners Area/SAS mod error or not?

JohnK(Posted 2007) [#1]
I have a question: In sas mod is some kind of errors with angles or this is my no direct hands?


Damien Sturdy(Posted 2007) [#2]
Keh?


SoggyP(Posted 2007) [#3]
Hello.

Best question ever ;o)

Goodbye

PS, Sorry I'm not able to help but shelf trip open mine.


FlameDuck(Posted 2007) [#4]
PS, Sorry I'm not able to help but shelf trip open mine.
This literally made me laugh out loud - thanks a lot now there's a 3 month mandatory drug test!


tonyg(Posted 2007) [#5]
I like these ones.
If I understand you right JohnK, you are asking if there
is a problem with angles in one of the sas.mod programs or whether it is a problem with your own program? Is that right?
If so it might be best to
a) Say which program you are using from sas.mods
b) Show some code which fails.


LAB[au](Posted 2007) [#6]
sas.mod wasn't it the sprite behaviours/flock behaviours from Scott Shaver?


JohnK(Posted 2007) [#7]
tonyg, you see my code) It here http://blitzmax.com/Community/posts.php?topic=68853
Missmatch in ai behaviors mod.


JohnK(Posted 2007) [#8]
I think, this some kind of error, because i need change Obj.GetHeading() to -Obj.GetHeading() it give me the result, what i need.


tonyg(Posted 2007) [#9]
<edit> OK, so you I can see you have to use
-GetHeading().
So you are asking
"Why do I have to use -GetHeading when using SpriteBehaviours mod?"
Is it because direction() in vector.bmx returns ATan2(-y , x)?
Can't be sure without changing things and havent'y got time at the moment.


JohnK(Posted 2007) [#10]
tonyg, thanks again! =)