SAS mod error or not?
BlitzMax Forums/BlitzMax Beginners Area/SAS mod error or not?
| ||
I have a question: In sas mod is some kind of errors with angles or this is my no direct hands? |
| ||
Keh? |
| ||
Hello. Best question ever ;o) Goodbye PS, Sorry I'm not able to help but shelf trip open mine. |
| ||
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! |
| ||
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. |
| ||
sas.mod wasn't it the sprite behaviours/flock behaviours from Scott Shaver? |
| ||
tonyg, you see my code) It here http://blitzmax.com/Community/posts.php?topic=68853 Missmatch in ai behaviors mod. |
| ||
I think, this some kind of error, because i need change Obj.GetHeading() to -Obj.GetHeading() it give me the result, what i need. |
| ||
<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. |
| ||
tonyg, thanks again! =) |