How would I make a vacuum style sucking effects?

I am currently mucking around with scripts and parts to get better at scripting.

I currently have this big pipe-looking thing floating in the air and I want it to suck up the parts that players put under it. I want the parts to have a float-like effect as they go up into the pipe.

How would I do this?

1 Like

you could use a combination of invisible rope constraints and body force.

if you tweak the body force enough it may actually look good enough.

May I ask why you would recommend rope constraints and how they would emulate the effect of something being sucked up into a vacuum?

1 Like

they wont really emulate the effect of being sucked into a vacuum, they’re more just to keep the parts on track of staying towards the tube.

for example, player places the part underneath tube. tube script adds invisible rope constraint to part from bottom of tube, shorten the length of the rope depending on how fast you want the parts to be vacuumed up. the force is just to make the parts move more vacuum like instead of just roping up. I think the tricky part is making the force look natural.

1 Like