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: I feel stupid for asking this.

Previous Thread :: Next Thread 
bellyboy99 is not online. bellyboy99
Joined: 27 Jan 2010
Total Posts: 433
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 is not online. swmaniac
Joined: 28 Jun 2008
Total Posts: 15773
01 Aug 2011 08:23 PM
...What?

What's the question?
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
01 Aug 2011 08:24 PM
You'd do exactly what you quoted ._.
Report Abuse
bellyboy99 is not online. bellyboy99
Joined: 27 Jan 2010
Total Posts: 433
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
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
01 Aug 2011 08:26 PM
Well it should ._.
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
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 is not online. 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
bellyboy99 is not online. bellyboy99
Joined: 27 Jan 2010
Total Posts: 433
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 is not online. 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
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