How to Make Ramps: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Larry5445
No edit summary
>Mr Doom Bringer
a specialmesh is NOT a ramp, it's a Wedge. Next one to post about it gets a ban.
Line 1: Line 1:
There are three way you can make ramps. Using a Hing, CFrame, or SpecialMesh...
There are two ways you can make ramps. Using a Hinge or a CFrame to edit rotation.
 
<!-----------------------------------------------------------------------------------
If you're editing this to post about the Wedge, you'd better not waste your time. A Wedge is NOT a ramp, it's still a square brick. These are ramps that make real ramps, a wedge does not do that. I've already warned that the next one to post about a wedge gets a ban. So don't do it. -------------------------------------------------------------------------------->




Line 8: Line 11:
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.
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 SpecialMesh==
1. make a brick of any size shape or color.
2. go to view. select explorer. then go to view again and select properties.
3. now go to insert->specialmesh. The brick should appear round, like a sphere.
4. click on that brick. the name "smoothblockmodel" should highlight in the explorer window.
5. click on the plus sign next to the highlighted name. You should see special mesh. Click on that and look at properties. There is a whole bunch of bells and whistles, buyt focus on meshtype for now. Click on the arrow next to meshtype and select "wedge". The block should be a neat-looking wedge.
6. If you want to use the brick for decoration, skip to 8.
7. Make the brick small, like 1x4. Copy and paste the brick as many times as you need. Stack them next to each other like you would stairs. The blue highlight around the ramp should be the shape of a brick. If you stack them corner to corner, you should have a successful ramp for traveling.
8. (decoration) after adding the mesh, stretch the brick as wide and tall as you want. The brick might looks weird if it gets to big, so be careful!


==Using a CFrame==
==Using a CFrame==

Revision as of 20:37, 30 May 2008

There are two ways you can make ramps. Using a Hinge or a CFrame to edit rotation.


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.