hoar
November 25, 2019, 10:36pm
1
My project:
http://www.mediafire.com/file/st0j0wlir2n8btj/pathfinding_rotation_and_other_questions.rar/file
If my Pathfinding object has rotation …
why don’t the animations change at these angles?
How to express the condition between angles greater than 338 degrees and less than 21 degrees?
is angle 0 equal to angle 360 ?
Please help.
Ruhan
November 26, 2019, 3:52am
2
I use this chart it works fine.
1 Like
hoar
November 26, 2019, 5:54pm
3
Thanks for the chart.
Unfortunately, my problem remains the same.
The enemy animations with Pathfinding behavior do not change when rotating in the northwest, north and northeast directions.
zutty
November 26, 2019, 10:10pm
4
You are using same range of angles for different animations.Avoid that!
hoar
November 26, 2019, 10:21pm
5
I do not understand how it may be happening.
Where is the conflict between the ranges of animation supposed to be?
I put them like this:
Northwest = range between angles 204 to 246.
north = range between angles 249 to 291.
northeast = range between angles 294 to 336.
I still don’t find the problem.
zutty
November 26, 2019, 10:23pm
6
Note that when you go to the left of enemy, the angles become negative.
Create a variable to store the angle and a text to read it.
You’ll notice that.
1 Like
hoar
November 26, 2019, 10:26pm
7
interesting … negative angles …
I will experiment with it.
Already tested and it works perfectly.
My question is where are the tutorials of the negative angles?
Well thanks for your help.