jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
|
| 28 Nov 2013 01:20 PM |
| Using Motors, how would I rotate the arms in all ways, x,y, and z, it seems like you can only use one number with set desired angle. |
|
|
| Report Abuse |
|
|
domorox17
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 1710 |
|
|
| 28 Nov 2013 01:22 PM |
| yeah i noticed that to. if u set diesired angle it is bery limited. i want to know this to |
|
|
| Report Abuse |
|
|
jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
| |
|
jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 28 Nov 2013 04:05 PM |
| use the motors in the torso |
|
|
| Report Abuse |
|
|
jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
|
| 28 Nov 2013 04:38 PM |
| i don't understand that cnt, i am using the motors in the torso, yet it only allows me to use one number |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 28 Nov 2013 04:48 PM |
torso.Neck.C0 = torso.Neck.C0 * CFrame.fromEulerAngles(0, 0, math.pi/2)
will rotate the neck 90 degrees around the z axis |
|
|
| Report Abuse |
|
|
jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
|
| 28 Nov 2013 04:57 PM |
| doesn't work, i see no change in the player. |
|
|
| Report Abuse |
|
|
jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
|
| 28 Nov 2013 05:01 PM |
| 7:00:27.689 - Workspace.Player1.LocalScript:28: attempt to call field 'fromEulerAngles' (a nil value) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
|
| 28 Nov 2013 05:07 PM |
| it works, but it is kinda choppy, how do i make it transition smoothly? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 28 Nov 2013 05:11 PM |
Use a loop
for i = 0, 90 do Neck.C0 = Neck.C0 * CFrame.Angles(0, 0, math.rad(1)) wait() end |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
|
| 28 Nov 2013 05:19 PM |
| how do you run two for loops at the same time? |
|
|
| Report Abuse |
|
|
|
| 28 Nov 2013 05:24 PM |
why would you need to?
you just run every thing in the same loop.
for i = 1,90 do x = i end
for i = 1,90 do z = i end
DO THIS TO RUN BOTH AT SAME TIME for i = 1,90 do x = i z = i end |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
|
| 28 Nov 2013 05:28 PM |
you don't understand, say i had two loops like :
for i = 1,50 end
and for i = 1,90 end
i want to run them at the same time, but how? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 28 Nov 2013 05:30 PM |
coroutines, spawns, or delays, etc.
But here's one weird thing to do:
for i = 1, 50 do
if i == 50 then for i = 1, 39 do end
end
lol I suggest not doing it |
|
|
| Report Abuse |
|
|