|
| 01 Aug 2011 08:22 PM |
| but how would I pull something like "bubble.Size = bubble.Size + Vector3.new(.5,.5,.5)" off? |
|
|
| Report Abuse |
|
|
swmaniac
|
  |
| Joined: 28 Jun 2008 |
| Total Posts: 15773 |
|
|
| 01 Aug 2011 08:23 PM |
...What?
What's the question? |
|
|
| Report Abuse |
|
|
|
| 01 Aug 2011 08:24 PM |
| You'd do exactly what you quoted ._. |
|
|
| Report Abuse |
|
|
|
| 01 Aug 2011 08:25 PM |
Sorry, I should have specified. I want to increase the size of an object exponentiationaly, but I am clueless on how.
P.S "bubble.Size = bubble.Size + Vector3.new(.5,.5,.5)"doesn't work. |
|
|
| Report Abuse |
|
|
| |
|
|
| 01 Aug 2011 08:27 PM |
bubble.Size = bubble.Size + Vector3.new(bubble.Size.x^2,bubble.Size.y^2,bubble.Size.z^2)
Question mark? |
|
|
| Report Abuse |
|
|
Exobyte
|
  |
| Joined: 26 Jul 2011 |
| Total Posts: 386 |
|
|
| 01 Aug 2011 08:27 PM |
| As long as bubble is a brick, it should work fine. |
|
|
| Report Abuse |
|
|
|
| 01 Aug 2011 08:28 PM |
| It dose not... Alas I have checked the rest of the script and it is not a problem there. |
|
|
| Report Abuse |
|
|
scepile3
|
  |
| Joined: 27 Feb 2009 |
| Total Posts: 260 |
|
|
| 01 Aug 2011 09:00 PM |
Not really sure what you're asking, but I'll do my best to help.
For exponential growth, would the equation be: x+2 x*2 or x^2? It would be the laast. The first code posted uses the x+2, which would be linear. The same would apply to the second. In other words, you need to multiply the bubble's size by itself to make it exponential... (other factors like x^1.5 works, but that's besides the point) Be warned that exponents easily grow to overly large sizes fast.
What do you mean "It dose not..." What did you expect it to do? What did it do? |
|
|
| Report Abuse |
|
|