Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Creating a conveyor belt?

I've made conveyor belts in the past, but I made them using the velocity property, but the issue is that in recent updates they removed that property, and I'm not sure if the new AssemblyAngularVelocity and AssemblyLinearVelocity are the same things, because the wiki is annoying. if they're not, how would I go about making a conveyor belt via scripts and body forces

1 answer

✓ Accepted answer

you can edit the velocity by using a script, if you want an example, create a new game and use the obby template, there is a conveyor belt block in the game, heres the code the block uses.

Script:

local conveyor = script.Parent
conveyor.Velocity = conveyor.CFrame:vectorToWorldSpace(Vector3.new(0, 0, 5)) -- change that for the direction you want it to go, the bigger the number the faster it will go

Hope this helps!

2 comments

0

exactly what I needed, thanks :)

0

Quick comment, velocity has been updated to assemblylinearvelocity and assemblyangularvelocity, but I think assemblylinearvelocity works the same as normal velocity.

This discussion is preserved as it was. New answers, comments, and votes are closed.