I was looking into making a custom action that would trigger a simple move towards function that moves a game object or player towards a target and stops on arrival. it seems simple enough, but there is a bunch of advanced stuff that takes me ages to finish. Like keeping the action running until I tell it to stop at the desired position.
the built in object transform action does not work on characters, even if it does allow you to move the player character (it does nothing) But when I add a simple move towards script to the player, it moves to the desires position quite happily without issues.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
I actually managed to get it working. It is still rough, but a start. As this setup does not allow for easing, I will probably figure out a better way, but it is a start
Object: Transform can work with characters, provided they have a Moveable component and aren't moving at the time. If they move with a Rigidbody, you'll also need to check Move With Rigidbody in the Moveable component's Inspector.
To apply smoothing to your custom Action as they approach some threshold, you can multiply the step by a factor that decreases within this threshold:
Thanks! This scene is shaping up to be very satisfying.
oh yes here is the character move action in... action:
https://youtu.be/zCyIeasvoTI