News Forums RAIN General Discussion and Troubleshooting Path smoothing 2.1.8.0

This topic contains 1 reply, has 2 voices, and was last updated by  prime 4 weeks, 1 day ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35264

    Ravakk
    Participant

    Hello, I just have a quick question :

    I started writing my own move action a few versions ago, and I just updated today to 2.1.8.0. Apparently RAINPath.Smooth() has become obsolete and is now handled by NavMeshPath, but i can’t find how to smooth a path now in the API.

    #35302

    prime
    Keymaster

    The call was obsoleted because we ran into some issues of not (externally) knowing when to smooth a path. Instead, we now assume that a path takes care of its own smoothing. For a NavMeshPath, that happens when the path is first created and initialized. If you are using the paths generated by the BasicNavigator, then you don’t need to resmooth them. If you are using your own custom paths, then of course you can add a Smooth() call to yours.

    I’m still looking into this, however, and we may reconsider Obsoleting that call.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.