I’m trying to make it so that if a player enters a mesh (a “River” mesh) then he’ll be affected by forces along the mesh (forces of the river’s “Current”). Is there some clever way to do this? It’s surprisingly hard to Google for.
There is multiple way to do it. The best way in my opinion is to separate logic and visual. What I mean is, you create your “River” mesh which is the visual independently from your logic of pushing the player along it. You then create a script which take a transform that you will use as the “direction” of the river. You can after apply a movement/add a force on your player along the forward of the transform that you use as the direction.