I’m just wondering, usually when they reach the last “node” they go off infinitely in the direction they were already going and despawn. What is the best way to achieve this? Would I make a new node based on the previous nodes position, and set it far away? Or is there some way to lerp towards something, but not stop when it reaches the destination?
I think you’re referring to the node entities from Pressure. If you’re only using the one NPC I think you can get away with making a new goal position really far away and despawning it when it reaches the goal. If it’s farther than the player is realistically ever going to see, it shouldn’t matter.
Yeah, just finished testing out the idea. It works great for what I needed.
1 Like