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
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!