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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How do I.. Algorithms?

Previous Thread :: Next Thread 
zeplarthegod is not online. zeplarthegod
Joined: 10 Feb 2016
Total Posts: 3
10 Feb 2016 04:13 PM
I've seen a lot of good code, so in general, how do I come up with all those numbers used in equations for code? Like..
CFrame = cf * %(x/9.2) + (v3+cf.p).magnitude


Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
10 Feb 2016 04:15 PM
% is modulus. 5%3 = 2. Integer leftover of division.

CFrame is tricky...you just have to figure it out.
Report Abuse
zeplarthegod is not online. zeplarthegod
Joined: 10 Feb 2016
Total Posts: 3
10 Feb 2016 04:17 PM
I'm not talking about something specific, I just want to know where or how to come up with those numbers or math operations to use.


Report Abuse
zeplarthegod is not online. zeplarthegod
Joined: 10 Feb 2016
Total Posts: 3
10 Feb 2016 04:20 PM
bump


Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
10 Feb 2016 04:29 PM
It depends on what you want to do lol
Report Abuse
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
10 Feb 2016 04:42 PM
^
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
10 Feb 2016 04:45 PM
Let's start with the basics.


+
The symbol above is for addition. What that means is that in infix notation, the number on the left will be added to the number on the right. So if 'o' represents apples, then
ooooo + oo
means I have ooooooo.


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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