I have an object connect to the HumanoidRootPart via a motor6d for animation purposes. Animating the object works just fine on the client holding the object AND the server, but not on other clients? I had a problem similar to this intially, where it would ONLY work on the client holding the object but not the server or other clients, but now it just doesnt work for other clients. Keep in mind that the animations are loaded and played on a server script. I cant for the life of me figure this out. Any help would be appreciated. Thanks!
set the network owner to the server
that didnt work unfortunately.
honestly, i’d just make a remote event for this and force animations to play on the client
It even happened on the client which is why I switched to the server. Its really bizarre. could it have anything to do with me preloading animations before playing them? when the animations are loaded, the character doesnt have the part yet (its a basketball game) so I guess that could be a possibility.
I think it’s because you’re using a motor6d, they are kind of annoying to work with
its the only thing you can use for animating, but ive seen many problems similar to mine in the past. It just seems like ROBLOX picks and chooses who it works for and who it doesnt.
do you have the action priority set right
yeah, plus it works fine on everything other than other clients. The thing that confuses me is that it works fine on the server, but not other clients. I thought other clients saw what the server saw? idk.
honestly 100% without a doubt in my mind has to do with the part’s network owner
ive tried player and server. neither work.
what’s the specific problem with it, like it just doesn’t play at all?
it plays, but only the limbs animate, not the basketball.
if you used moon animator it could be an issue relating to the animation replicating looking for the ball in character not finding it and not animating the right thing, this is just a reach though it’s really the only thing I can think of
I didnt use moon animator. Im going to try one last thing. Instead of preloading the animations, im gonna load them right when I play them. Unfortunately if that’s the issue, I’ll have to restructure all of my code though.
That didn’t work either… Thank you for helping though! Im out of ideas. Hopefully I’ll figure it out soon. I’m going to test with my friend tomorrow. I feel like it might have something to do with emulation, since im not testing in an actual game. We’ll see though.
Are there any visible examples of the problem occurring so that we can see what is happening? Have you used Humanoid.Animator:LoadAnimation()?
I just got off but I can show what’s happening tomorrow. In short, the client with the basketball and the server show the player dribbling the ball perfectly fine, but on other clients (at least from testing in studio emulation) it shows the whole animation except the basketball is stuck in the humanoid root part.
Lastly, is the basketball you are using a tool?
No, it just has a touch event where it creates a new motor6d