|
Post by misottyo on Nov 15, 2021 7:04:16 GMT
Hello! Thank you for the good assets. I'm a beginner, so I'm not sure, but I'm thinking of making a state transition when the speed of the enemy's AI drops below a certain level. This is to prevent you from continuing to step on when you hit a wall. Due to various reasons, the navmesh on the floor cannot be changed. I tried a possible implementation as shown in the image below, but like the video, it switches between true and false in a blink of an eye. This was true even if the threshold value of 0.1f was increased. Is there a way to switch transitions by speed? Or is there any other way to make a "when you keep hitting a wall" decision? Thank you.
|
|