Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 08 Oct 2012 04:42 PM |
Its supposed to spin:
b = Instance.new("Part",Workspace) b.Size = Vector3.new(5,12,5) b.BrickColor = BrickColor.new("Lime green") b.Position = Vector3.new(20,0,0) b.TopSurface = "Smooth" b.BottomSurface = "Smooth" b.Name = "brick"
bodyG = Instance.new("BodyGyro",b) bodyG.D = 500 bodyG.P = 3000 bodyG.maxTorque = Vector3.new(4000, 10000, 4000)
Workspace.brick.BodyGyro.cframe = CFrame.Angles(0,5,0)
But its not, why? |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2012 04:46 PM |
No events? Is this full script? |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 08 Oct 2012 04:47 PM |
| Its the full, nothing else. |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2012 04:48 PM |
Try this:
while wait() do b = Instance.new("Part",Workspace) b.Size = Vector3.new(5,12,5) b.BrickColor = BrickColor.new("Lime green") b.Position = Vector3.new(20,0,0) b.TopSurface = "Smooth" b.BottomSurface = "Smooth" b.Name = "brick"
bodyG = Instance.new("BodyGyro",b) bodyG.D = 500 bodyG.P = 3000 bodyG.maxTorque = Vector3.new(4000, 10000, 4000)
Workspace.brick.BodyGyro.cframe = CFrame.Angles(0,5,0) script.Disabled = true end |
|
|
| Report Abuse |
|
|
eJorge
|
  |
| Joined: 09 Jun 2011 |
| Total Posts: 5966 |
|
|
| 08 Oct 2012 04:49 PM |
Because you must loop it:
while wait(.1) do Workspace.brick.BodyGyro.cframe = Workspace.brick.BodyGyro.cframe * CFrame.Angles(0,5,0) end |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 08 Oct 2012 04:57 PM |
| Didnt work, and i dont want a loop, i want a quick spin then its over, and its not spinning at ALL |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2012 05:05 PM |
| A BodyAngularVelocity spins bricks. I don't know about a BodyGyro. |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 08 Oct 2012 05:09 PM |
| KK, I JUST WANTA SPINNING THING, IM TIRED OF DOING ALL THIS SH-1T NOW WRITE ME ONE! |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2012 05:10 PM |
1. Is a request. 2. Anger Issues.
So, no. |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2012 05:10 PM |
No, that's much too commanding
~xXTheRobotXx,Machination |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2012 05:10 PM |
BodyGyro will spin it if you do it right. Also remember, 2(pi)=360 pi=180 pi/2=90 You might want to do math.rad(45) for a 45 deg turn. |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2012 05:11 PM |
Spinning thing? Got it angry kid!
while true do script.Parent.CFrame=script.Parent.CFrame*CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360)) end |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2012 05:12 PM |
*Sigh*
Again, I told you to put maxTorque to Vector3.new(math.huge,math.huge,math.huge) |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 08 Oct 2012 05:13 PM |
| @Blackboy reported for spam on my forum.I MENT TURN MY SCRIPT INTO SPINNING, LIKE FIX IT |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2012 05:13 PM |
| Lol. Nice. No more help for you from me. kthxbai. |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 08 Oct 2012 05:14 PM |
| You never helped, so i wouldnt make a difference, kkthxbai |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2012 05:14 PM |
It's not like this is the ONLY time you will need help. :3
|
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 08 Oct 2012 05:17 PM |
| Wow ur hepful making the report abuse on the posts, hey thanks :D |
|
|
| Report Abuse |
|
|
| |
|
|
| 08 Oct 2012 05:45 PM |
"KK, I JUST WANTA SPINNING THING, IM TIRED OF DOING ALL THIS [explicit] NOW WRITE ME ONE!"
"Don't ask others to debug your broken code without giving a hint what sort of problem they should be searching for. Posting a few hundred lines of code, saying "it doesn't work", will get you ignored. Posting a dozen lines of code, saying "after line 7 I was expecting to see (something), but (something else) happened instead" is much more likely to get you a reply." -DoomBringer
|
|
|
| Report Abuse |
|
|