How to Make Conveyor Belts: Difference between revisions
>Craigape |
>Craigape |
(No difference)
|
Revision as of 03:25, 20 July 2008
Introduction
A conveyor belt is an object that pulls other objects along on top of it. They are often used in assembly lines, in factories. This tutorial will teach you how to build a working conveyor belt.
How To Make One
There are two ways to make a conveyor belt. One way is to give a brick an OnTouch script that will give Velocity to any brick touching it. This is just needlessly complicated and useless. So, instead, we will make a brick, anchor it, and give it velocity.
Create The Brick
Start by a creating a brick. Its top surface should be smooth, so it doesn't form any connections. You can make the color whatever you want, though. Once you've created the brick, stretch it out, to the length of your conveyor belt. You should probably build some small walls on it, too, so that whatever rides on it won't fall off.
Give It Velocity
For the next step, we have to give it the ability to move/launch others. So, in the Roblox Editor, highlight the brick and find the property 'Velocity'. Change its coordinates according to the direction of your conveyor belt. They're X, Y, Z coordinates, so you won't need the middle one, Y, -- the vertical direction. Negative numbers apply the same amount of force as positive numbers, but in the opposite direction. You MUST do this in edit mode or it won't work.
Final Step - Anchor It
The final step is to highlight the conveyor belt brick in the Roblox Editor. In its properties, there should be a checkbox labeled, 'Anchored'. Place a check here to lock it in place. Now that it's locked in place, it applies its velocity to whatever touches it.