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