Hello developers,
Today I request your help with another HORSE-RELATED issue. I’m currently trying to hook up a horse system. The way it works is the horse is its own humanoid that plays standing/resting animations on its own. When you mount it, the horse becomes a part of you. The rig loses its Humanoid, Head, and HumanoidRootPart (or rather, the parts get renamed). When you dismount, those get added back. I figure this would be better on the system than continually respawning horse models.
I’ve encountered some sort of issue however. Two issues to be precise, but I think they’re rooted in the same issue.
1.) When Horse_LowerTorso is moved at all in an animation, when it plays back the player’s character’s position in relation to the horse seems to be exaggerated. Examine the 2 mp4s below.
2.) The player’s character doesn’t move with the horse. The horse moves with the character. I’d prefer if the player’s character would latch to the saddle so the horse is ‘in control’ of all movements, however this is more of a nuisance than a huge problem. I can pretty easily just move the player’s character by hand with each keyframe if needed. Issue #1 is my main concern.
How the animation looks in the editor:
How the animation looks in-game:
I’ve included a file below. Feel free to download it and mess around. The only scripts are in ServerScriptService and StarterGui. I think this is a Motor6D problem, but I still have as much of a grasp on Motor6Ds as I do on quantum mechanics. I suspect that my code for creating a new Motor6D on the fly between the horse root and the player root is the issue, but again I don’t really understand how. I used a plugin to create the horse rig. In order for the animation to work, you must load it from the Horse dummy, save it yourself, and replace the in-studio Animationid with your own uploaded version. Try it out and lemme know what you find. If both issues here could be solved then I’d be ecstatic. I appreciate any and all responses.
Horse_Testing1.rbxl (116.5 KB)
I made the horse mesh for my own game however so please don’t hand it out to a bunch of people. I appreciate it a lot.