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: What would be the best way to do this?

Previous Thread :: Next Thread 
TheWisest is not online. TheWisest
Joined: 11 Nov 2010
Total Posts: 7345
17 Nov 2012 05:54 PM
Okay, lets say that I have a GUI button, and if I press this button, a brick tilts upwards. Except instead of it just appearing to be tilted, it does it smoothly.

I thought about CFrame.new, but then I realized if I were to use this, I would not get the desired effect. Now how exactly would I go about doing this?

Thanks. :)
Report Abuse
TheWisest is not online. TheWisest
Joined: 11 Nov 2010
Total Posts: 7345
17 Nov 2012 06:14 PM
Note:

This IS NOT a request.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
17 Nov 2012 06:15 PM
CFrame.new, like this:

for i=1, 100 do
.CFrame = .CFrame * CFrame.Angles(., ., .)
wait()
end

Divide the new CFrame by 100
Report Abuse
TheWisest is not online. TheWisest
Joined: 11 Nov 2010
Total Posts: 7345
17 Nov 2012 06:38 PM
So I would first enter the numbers, then I would do something like this?

CF2 = .CFrame/100
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
17 Nov 2012 06:43 PM
you would need a loop like he said and just use really fast, but small interval movements.
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