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
|
  |
| Joined: 11 Nov 2010 |
| Total Posts: 7345 |
|
|
| 17 Nov 2012 06:14 PM |
Note:
This IS NOT a request. |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| 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 |
|
|