link7002
|
  |
| Joined: 26 May 2009 |
| Total Posts: 545 |
|
|
| 20 Apr 2012 06:49 PM |
To start, I would like to state I am not requesting anything, but instead asking on how I should/can start, and what to use.
I am trying to make a moving statue. I simply am helping a friend create part of his game, and I'm responsible for a magic realm. Anyways, I am looking to CFrame the statue to move it's arm. But, since my friend will be receiving the model I do not know how the model will be placed, so therefor the statue will have to work no matter which way it faces. Would someone be kind enough to help me with this? I know from a previous script I did that this creates the effect of a moving arm, but if faced the wrong way, looks completley wrong:
while wait(0.3) do script.Parent.CFrame=CFrame.new(script.Parent.Position) * CFrame.fromEulerAnglesXYZ(0, 0, 0) wait(0.05) script.Parent.CFrame=CFrame.new(script.Parent.Position) * CFrame.fromEulerAnglesXYZ(0, 0, 0.1) wait(0.05) script.Parent.CFrame=CFrame.new(script.Parent.Position) * CFrame.fromEulerAnglesXYZ(0, 0, 0.2) wait(0.05) script.Parent.CFrame=CFrame.new(script.Parent.Position) * CFrame.fromEulerAnglesXYZ(0, 0, 0.3) wait(0.05) script.Parent.CFrame=CFrame.new(script.Parent.Position) * CFrame.fromEulerAnglesXYZ(0, 0, 0.2) wait(0.05) script.Parent.CFrame=CFrame.new(script.Parent.Position) * CFrame.fromEulerAnglesXYZ(0, 0, 0.1) wait(0.05) script.Parent.CFrame=CFrame.new(script.Parent.Position) * CFrame.fromEulerAnglesXYZ(0, 0, 0) end
I am aware this script sucks, I was very amature (well, more than I am now, anyways.)
I apologise for the long post, please post a response or questions! Thanks in advanced, link7002! |
|
|
| Report Abuse |
|
link7002
|
  |
| Joined: 26 May 2009 |
| Total Posts: 545 |
|
| |
link7002
|
  |
| Joined: 26 May 2009 |
| Total Posts: 545 |
|
| |
link7002
|
  |
| Joined: 26 May 2009 |
| Total Posts: 545 |
|
| |
link7002
|
  |
| Joined: 26 May 2009 |
| Total Posts: 545 |
|
|
| 20 Apr 2012 08:19 PM |
25 views and no replies... lol Bump |
|
|
| Report Abuse |
|