#Welding parts on the client

1 messages · Page 1 of 1 (latest)

plain mesa
#

Trying to weld this jig because i animating it with body movers and constraints. If i weld it before running the game the welds will be on the server and the body movers wont work on the client. I cant seem to weld the parts on initialization it doesnt seem to stay together. Is there any other way I can fix this without setting network clients.

weak elbow
#

when you weld parts they join the assembly
then the network owner tells all the others the position and velocity of that assembly

if you weld a part on the server side then it will replicate to all clients and all clients will have the same parts in the same assembly

if you weld a part on the client side then that part will be added to the assembly for that client but no one else so who ever has network ownership will tell the position of the assembly and only that 1 client will move that part with the assembly no one else

#

when you use body movers the parts are not combined into one assembly and are treated as separate assembly's so there position and velocity will need to be sent individually

#

are you trying to move the white part between the red parts?

#

like a sliding shaft

#

if you set ActuatorType = Servo then you can move it up and down

real elm
#

One message removed from a suspended account.

plain mesa
#

Yes the mechanism uses 2 prismatic constraints and a hinge all with servos

#

Its meant to activate on client input and replicate to all the clients

#

I have the prismatic constraints and hinge created on the client

#

I was trying to get the constraints to run on the client and just keep sync with the server

#

I was going to let ownership be automatic but i guess i should try giving it ownership when the player gives its input

plain mesa
#

screw this i am just gonna animate it 😭

weak elbow
#

i think people are finding it hard to help you because we have no idea what your trying to do

plain mesa
#

Fair it was meant to be hidden door mechanism that was all physics based but it wouldnt be reliable even if i put another 2 hours into it lol