Align Position sometimes don't work when on client

I’m currently using align positions for movement.

https://gyazo.com/b387dc9b500bbf5def8e1fbbfad31d49

The problem is that when I run it with other players it randomly seems to just break, or ignore it completely. (It’s very inconsistent)

https://gyazo.com/d169b80be13512e991612e6476a77602

It worked fine with the other players, but not with this one, as said above it’s very inconsistent.

I’ve checked that the attachments were still there, and all of them are correctly positioned and move correctly, even the align position has Attachment0 and Attachment1.

Is there anything which causes an align position to stop working at any point on client?

1 Like

This is very likely because of NetworkOwnership. If the server does not specifically say part:SetNetworkOwner(player) or part:SetNetworkOwner(nil) (server), then it will use NetworkOwnershipAuto, meaning that the person who is in charge of computing the physics of that object will change based on things like distance and other factors. If that person is not your client then the Constraint will do nothing at all (because youre not in charge of it).

3 Likes

Everything is spawned on the client, there are no server side parts.

1 Like

Are the attachments also created on the client? What’s the full story for how it is all set up? And can you show a video of it not working and maybe it could be related to the underlying code?

Everything related to that is created on the client, it’s a very inconsistent bug, as sometimes it’ll work perfectly for other players.

https://gyazo.com/4af8558db2534353c951faad132c0eb4

This tends to happen as soon as a player joins the server, again it’s very random.

Everything is done via client, and it mainly happens when you login to the server, when they’re re-equipped it tends to work fine.

I’ve been trying to find a reason this happens, or why it’s inconsistent and for the love of me can’t find anything.

Does roblox limit the amount of align positions that can work at a given time.

I’d stick with using Welds and Weld Constraints

Hi, did you find any solution? Having this inconsistency too.

The issue was that the align position speed or whatever variable it is was set to 0 by accident.