#Dead Rails Weld system
1 messages · Page 1 of 1 (latest)
you already made a post brother
I would make a part as like a hitbox or a dropoff, and a script that detects any dragable item inside, if its not being dragged, create a weld to the part when (the dragables’ velocity’s magnitude - the hitboxes velocity’s magnitude) = 0.
but essentially youd just create a weld in the object connected to the train/whatever whenever 'placement' is finished, as long as it's touching (maybe using getpartsinpart with a hitbiox)
Also make sure to weld the hitbox to the train/trailer
maybe not velocity magnitude because then it won't be abl;e to be done on the moving train
but yeah that
Thats why you subtract the hitbox’s velocity
Appreciate it guys!