|
| 14 Jan 2013 05:46 PM |
Nothing to complicated here, just trying to form a circle out of bots here... however i seem to get a straight line with bunches of 2
local circle = targ.CFrame * CFrame.Angles(math.rad(360*subj.d.Value/num), 0, 0) * CFrame.new(0, 0, 50) subj.Humanoid:MoveTo(circle.p,Workspace.Terrain)
subj.d.Value is the bots number (i.e. 2 as in 2 of 5 bots) num is the total number of bots
|
|
|
| Report Abuse |
|
|
|
| 14 Jan 2013 05:50 PM |
| Umm, I think I have done something like this before but with parts floating around my torso. Lemme go find the script. |
|
|
| Report Abuse |
|
|
|
| 14 Jan 2013 05:55 PM |
| CFrame.Angles(0, math.rad(360*subj.d.Value/num), 0) |
|
|
| Report Abuse |
|
|
|
| 14 Jan 2013 05:56 PM |
You didn't place the Angles just right. Where you put it, it would have to be some what in the air to be noticeable. Now if you wanted the circle to be flat, you'd have to do:
CFrame.Angles(0, math.rad(360*subj.d.Value/num), 0) |
|
|
| Report Abuse |
|
|