I’m trying to make the character stick to a moving train, however it doesn’t work. I’ve tried mutliple things, no idea if i’ve done it right tho. But I can’t seem to get it to work.
My goal is for the character to remain in the train without jittering and moving around as well as being able to walk through the train.
I’ve tried the following without success:
AlignPosition
PristmaticConstraint
For the movement I use LinearVelocity connected to an EnginePart on the train. All the parts in the train are welded.
It works fine when the train is stood still but when moving it starts going crazy
Was the train made using physics or just tweening? Physics instances like constraints and velocities allow the player’s movements, but may cause lag or delay if repeated within the game. Tweening is efficient too since it doesn’t use that much client memory and runs at the same speed even if away from the player.