A
Alberto
Guest
I've spent a couple of hours trying to understand what's wrong with path_reverse function or what's wrong with me
I've tested it on GMS1 and GMS2 with the same result. When I use path_reverse I wish only the nodes will change like 0...n -> n...0, but the problem is that the path change its position similar to a mirror effect (with axis in the first node).
You can read on the manual about path_reverse:
"... The actual position of the points remains the same, only the order in which they are processed is changed..."
I want to use this function to make NPC reverse the path in some point, similar to path_action_reverse but not only at the end of the path.
Please, help me. Probably I am making something wrong. I need help.
Thank you all!
I've tested it on GMS1 and GMS2 with the same result. When I use path_reverse I wish only the nodes will change like 0...n -> n...0, but the problem is that the path change its position similar to a mirror effect (with axis in the first node).
You can read on the manual about path_reverse:
"... The actual position of the points remains the same, only the order in which they are processed is changed..."
I want to use this function to make NPC reverse the path in some point, similar to path_action_reverse but not only at the end of the path.
Please, help me. Probably I am making something wrong. I need help.
Thank you all!