How to Make Ramps: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Icblud
>Icblud
No edit summary
Line 1: Line 1:
There are two ways to make Ramps which people can walk up or drive up.
There are three way you can make ramps. Using a Hing, CFrame, or SpecialMesh...





Revision as of 22:07, 25 May 2008

There are three way you can make ramps. Using a Hing, CFrame, or SpecialMesh...


Using a Hinge

Make one small square brick 1x1x1 size. Up on the toolbar click on the little icon for Hinges. This lets you click anywhere and make a hinge on that surface. Click on the side of your brick, and there will then be a small yellow peg sticking out of that side.

That, right there, is a Hinge. All you have to do is make sure another brick is RIGHT ON THE PEG and it will make a hinge. Anchor that brick you just made, move it up a few studs and make a new brick touching the hinge. The two bricks should sit right next to each other so that you can't see the hinge anymore. When you save and play the game Online, the hinge will let the other brick swing downward, making a ramp.


Using a CFrame

Make a brick, anchor it and name it "slope". Then open the Command Line and type this in:

game.Workspace.slope.CFrame=CFrame.fromEulerAnglesXYZ(0,0,0)

Change the "(0,0,0)" to how many radians (not degrees) you want it to rotate. Radians are a different way of saying how big an angle is. Instead of using degrees, they use a special numbering system that is best explained by a 10th grade Math teacher. You can use numbers between 1 and 0, which will work fine.

Play around with it, you can put the new number in either one of the three zeroes in the line, like this:

game.Workspace.slope.CFrame=CFrame.fromEulerAnglesXYZ(0.5,0.9,0.3)

Which will make it rotate in all kinds of directions. You can also press enter a couple of times and it will make the brick rotate again, so you can rotate it farther.



Using a Wedge

Make a brick. Click on the brick and go to insert, object, specialmesh. The birck should be a weird circle shape. Open the explorer and properties windows. In the explorer, go to the brick you made and click on the + sign next to it. Select the mesh. In the properties window you should see MeshID, Mesh Type, etc. To change the shape, click on the arrow next to the name of MeshType (it should currently say "Head") and select wedge. your brick should be a nice looking ramp. If you want people to walk on it, dont stretch it out because it is half invisible and walking into one big ramp like that is like walking into a giant brick. To let people walk on it you need to make many many small ones and build them next to each other like you would build stairs. You can stretch it as big as you want if you are making a decoration! You can even try the other mesh types and really make an abstract design!