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: Magnitudes

Previous Thread :: Next Thread 
doneyes is not online. doneyes
Joined: 21 Mar 2008
Total Posts: 3466
27 Dec 2011 09:45 AM
How do I use them?

like some kind of this?

while if so and so and so .magnitude < 10 then do
script stuff here



I have no idea if I'm way off or not.



Report Abuse
LuisPambid is not online. LuisPambid
Joined: 31 Mar 2011
Total Posts: 532
27 Dec 2011 10:24 AM
Magnitude is a distance
(a.Position - b.Position).Magnitude --Distance
Report Abuse
bl5eebryce is not online. bl5eebryce
Joined: 03 Aug 2009
Total Posts: 387
27 Dec 2011 10:45 AM
You should learn this in 7th grade (With the new core comming up next year.) Otherwise you should have already learned this. This is just pretty much doing the same thing as the pythagorean theorum. Gosh hope I spelled that right.
Report Abuse
doneyes is not online. doneyes
Joined: 21 Mar 2008
Total Posts: 3466
27 Dec 2011 01:29 PM
I learned the PT in 7th grade, yes. I remember it perfectly. But there was nothing on magnitudes unless I'm simply seeing over it.
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
27 Dec 2011 01:31 PM
I never learned Magnitude. o.o What well-off school did you go to. :S
Report Abuse
metaplates is not online. metaplates
Joined: 20 Dec 2011
Total Posts: 423
27 Dec 2011 01:37 PM
I already know trigonometry and I'm 11. -.-'
Report Abuse
doneyes is not online. doneyes
Joined: 21 Mar 2008
Total Posts: 3466
27 Dec 2011 11:44 PM
Well you are probably an Asian.
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
27 Dec 2011 11:46 PM
lol, stereotypes much?

~I've been to nil and back.
Report Abuse
bl5eebryce is not online. bl5eebryce
Joined: 03 Aug 2009
Total Posts: 387
28 Dec 2011 12:51 AM
Magnitude just does the exact thing as the pythagorean theorum.
Report Abuse
Merlin11188 is not online. Merlin11188
Joined: 20 Dec 2007
Total Posts: 4158
28 Dec 2011 01:48 AM
Magnitude is a measure of distance. Think of a 2D graph. What happens when you get a point at (3, 4)? What is the distance between that point and the origin (0, 0)? Is it 7? 3 + 4? No. The distance is the length of the hypotenuse. math.sqrt(3^2 + 4^2) or 5. 5 is the magnitude of the point (3, 4) on the Cartesian plane (what you would think of as a 2D graph).
Report Abuse
metaplates is not online. metaplates
Joined: 20 Dec 2011
Total Posts: 423
28 Dec 2011 07:26 AM
I'm Italian, actually.

-They say that love is forever, your forever is all that I need.
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