Move along path using root motion's speed

Slate Forums Support Move along path using root motion's speed

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #542
    monokoschi
    Participant

    Hi,

    I’ve had a similar problem with other path-tools in Unity. Basically i want a humanoid character to move along a given path, but with the speed given by the root motion, so the animations will match the travelled distance. Is this somehow possible?
    For now i’ll have to tweak the length of the track until it fits, which is quite cumbersome.

    Best regards

    Koschi

    #543
    crimson
    Participant

    sorry cant be of help.

    just to add, im also having problems with speed of the objects along the path. cannot tell how the tangents are affecting the speed.
    iยดd like to have smooth motion but the object speed varies from point to point.
    tweaking point for hours and not getting better.

    #550
    Gavalakis
    Keymaster

    Hello guys,

    In the next update the FollowPath action clip will have the ability to be traversed with a uniform speed regardless of where the control points are. I will try and send the update ASAP since that’s probably the most requested feature right now ๐Ÿ™‚

    Using root motion speed is an interested idea which I will have to look more into it to see how/if at all possible in one way or another.
    Explanation in case you want to know: The problem with this is that because the sequencer has to be deterministic, we have to know where the character will be by the end of the FollowPath action clip, but if the speed is varied based on the animation clips played along at the same time, it is somewhat impossible to determine the final character position and all intermediate positions beforehand and in an efficient manner. This is very different from doing the same in a gameplay Unity Update method for example, where we don’t care about the future, but rather only for what is going on now. I hope this was not very confusing and made sense. ๐Ÿ™‚

    Cheers!

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.