|
| 17 Nov 2015 04:33 PM |
I have been looking into this function, and have been told that it can be used to smoothly rotate and move objects (eg. A door), how would I use this to make a door open and close?
-|| Don't walk the path someone else made, build your own. ||- |
|
|
| Report Abuse |
|
|
|
| 18 Nov 2015 07:31 AM |
| Motor6D is only for the character's body parts if I'm not mistaken. If you want to move an object smoothly, then use Cframe. |
|
|
| Report Abuse |
|
|
|
| 18 Nov 2015 07:37 AM |
yep, and if you are interested in a door that opens forward and closes, then a simple answer is to make two doors, and set an onclick function that makes one of the doors transparent and cancollide, while the main one is the opposite.
|
|
|
| Report Abuse |
|
|
|
| 18 Nov 2015 02:00 PM |
I managed how to figure out a way to do it with Motor6D ;0
-|| Don't walk the path someone else made, build your own. ||- |
|
|
| Report Abuse |
|
|
Qorm
|
  |
| Joined: 25 Jul 2010 |
| Total Posts: 1650 |
|
|
| 18 Nov 2015 02:34 PM |
how
#code local onion=((tasty*math.ceil(math.huge))^128);print"onions are tasty" |
|
|
| Report Abuse |
|
|
| |
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 18 Nov 2015 02:35 PM |
| You can use Motor6D, but CFraming it would be easier |
|
|
| Report Abuse |
|
|
|
| 18 Nov 2015 02:48 PM |
It was actually easy, and the result is a lot smoother then cframing.
-|| Don't walk the path someone else made, build your own. ||- |
|
|
| Report Abuse |
|
|