generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: x1 and x2

Previous Thread :: Next Thread 
Jellyfish403 is not online. Jellyfish403
Joined: 12 May 2010
Total Posts: 951
30 Nov 2012 03:14 PM
Lets say we have two coordinates:
(x1,y1),(x2,y2)
Does x2's value have to be larger than x1's?
If so, does it's ABSOLUTE value have to be larger or RELATIVE value be larger?

I need to know this for a midway point formula.
Report Abuse
DoubleA7 is not online. DoubleA7
Joined: 08 Jul 2009
Total Posts: 2873
30 Nov 2012 03:16 PM
No it does not.

>Dat Gui
Report Abuse
Jonah13249 is not online. Jonah13249
Joined: 09 Oct 2009
Total Posts: 2105
30 Nov 2012 03:18 PM
It's like we are learning algebra! xD
y2-y1/x2-x1 = rise/run

~ṡсɾïρτïṉģ hεlρεɾṡ ۩ lυαlεαɾṉεɾṡ ④ øƒвќṃṿј~ ღ ▂▃▅▆█ρεώḋïερïε☄сυτïερïε█▆▅▃▂ღ
Report Abuse
Jellyfish403 is not online. Jellyfish403
Joined: 12 May 2010
Total Posts: 951
30 Nov 2012 03:18 PM
After I look at the formula I see that the commutative property of addition allows you to switch around x1 and x2.
Report Abuse
lolb3 is not online. lolb3
Joined: 16 Jan 2010
Total Posts: 2268
30 Nov 2012 03:52 PM
Aye, go back to your 6th grade notes and look at your addition properties.


◄dis ish supposed 2 be a siggy►
Report Abuse
FEANEXOFFIRE is not online. FEANEXOFFIRE
Joined: 30 May 2010
Total Posts: 7526
30 Nov 2012 04:02 PM
it doesnt matter which is bigger
Report Abuse
BunnyBoy26 is not online. BunnyBoy26
Joined: 17 Jun 2010
Total Posts: 5674
30 Nov 2012 04:04 PM
Yes, commutative property works:

(y2-y1)/(x2-x1) = (-y1+y2)/(-x1+x2)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image