Author Topic: Slope Formula for Ramps  (Read 4085 times)

You guys are totally missing the lip at the bottom of most ramps.
I said that
The problem with this is that bricks aren't perfect triangles, they have a little flat edge on the bottom before the slope

The heck do you need this for
Only use I can think of right now is a bl2roblox converter

The heck do you need this for
Only use I can think of right now is a bl2roblox converter

I am trying to make a converter for roblox and since roblox doesn't use degrees, I need the actual size interval. So basically I need a formula for that.
I think I almost have it, I am not sure though.


YES ANGLE TO SIZE!
So use regular tangent

mTan(angle) = rise / run

run * mTan(angle) = rise
rise / mTan(angle) = run

So use regular tangent

mTan(angle) = rise / run

run * mTan(angle) = rise
rise / mTan(angle) = run

I know angle refers to the brick 25, 45, 72 degrees etc. but what is run and rise?
« Last Edit: December 23, 2012, 10:42:56 PM by Altiris »

I know angle refers to the brick 25, 45, 72 degrees etc. but what is run and rise?
maybe you should take an algebra class before you try to code this

maybe you should take an algebra class before you try to code this
People forget things, why would I memorize rise/over run 3 years ago when I had no use for it except in class. Could you please help me, everything is working, sizes are working out okay, colors are being converted correctly, even transparency. This is one of the standstills right now, please tell me what these mean if you can.

Take a wild guess. There's not a whole lot that rise and run could mean, especially with the not-so-subtle clues from this thread

People forget things, why would I memorize rise/over run 3 years ago when I had no use for it except in class. Could you please help me, everything is working, sizes are working out okay, colors are being converted correctly, even transparency. This is one of the standstills right now, please tell me what these mean if you can.
How in the world do you forget something as simple and fundamental as rise/run?


Take a wild guess. There's not a whole lot that rise and run could mean, especially with the not-so-subtle clues from this thread
Rise would be height which is 1.333 or 1.5, run is the length of the slope which is 2. However rise over run is to determine Slope. Then I think I need to convert to Slope to something else, hold on real quick

I'm handicapped, I got the formula working. Now I need to get Slope to give me Size, anyone have a formula for this? If I get this the converter project I'm working on will basically work!!

I'm handicapped, I got the formula working. Now I need to get Slope to give me Size, anyone have a formula for this? If I get this the converter project I'm working on will basically work!!
What are you even asking? We already gave you all you need to do this

What are you even asking? We already gave you all you need to do this
Alright, how do I convert the degrees of a ramp into a vector number?

Alright, how do I convert the degrees of a ramp into a vector number?
So use regular tangent

mTan(angle) = rise / run

run * mTan(angle) = rise
rise / mTan(angle) = run