generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: BodyAngularVelocity

Previous Thread :: Next Thread 
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
08 Oct 2012 06:43 AM
So, im making it in a part and not sure how to set it up:

b = Instance.new("Part",Workspace)
b.Size = Vector3.new(5,12,5)
b.BrickColor = BrickColor.new("Bright red")
b.Position = Vector3.new(20,0,0)
b.TopSurface = "Smooth"
b.BottomSurface = "Smooth"

bodyAV = Instance.new("BodyAngularVelocity",b)

So how should i set up the properties?
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
08 Oct 2012 08:14 AM
bump
Report Abuse
TehChikenHater is not online. TehChikenHater
Joined: 11 Jun 2012
Total Posts: 497
08 Oct 2012 08:22 AM
bodyAV.angularvelocity=Vector3.new(0,0,0)
Report Abuse
TehChikenHater is not online. TehChikenHater
Joined: 11 Jun 2012
Total Posts: 497
08 Oct 2012 08:23 AM
Don't forget to set your maxTorque, and P (I suggest Vector3.new(math.huge,math.huge,math.huge) for the maxTorque)
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
08 Oct 2012 11:14 AM
Ik about this, but i dont know how i should write them in the lines..bump
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
08 Oct 2012 11:15 AM
Below the instancing.

http://www.roblox.com/CeaselessSouls-Admin-Commands-Gui-based-item?id=92856199 -- Take one and enjoy! Read the description, has a lot of information.
Report Abuse
TehChikenHater is not online. TehChikenHater
Joined: 11 Jun 2012
Total Posts: 497
08 Oct 2012 11:17 AM
bodyAV=Instance.new("BodyAngularVelocity",b)
bodyAV.angularvelocity=Vector3.new(0,0,0)
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
08 Oct 2012 11:50 AM
bodyAV = Instance.new("BodyAngularVelocity",b)
bodyAV.angularvelocity = Vector3.new(0,0,0)
bodyAV.P = 1250
bodyAV.maxTorque =

Is the p right, and how should maxtorque be, fix pl0x?
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
08 Oct 2012 11:56 AM
bump
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
08 Oct 2012 11:57 AM
bump!!!
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
08 Oct 2012 12:25 PM
bump
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
08 Oct 2012 01:34 PM
bump
Report Abuse
blackboy167thst is not online. blackboy167thst
Joined: 22 Jul 2011
Total Posts: 2468
08 Oct 2012 01:35 PM
bodyAV = Instance.new("BodyAngularVelocity",b)
bodyAV.angularvelocity = Vector3.new(0,0,0)
bodyAV.P = 1250
bodyAV.maxTorque = 5000, 5000, 5000
Report Abuse
blackboy167thst is not online. blackboy167thst
Joined: 22 Jul 2011
Total Posts: 2468
08 Oct 2012 01:36 PM
Wait, add a Vector3.
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
08 Oct 2012 02:04 PM
So:

bodyAV = Instance.new("BodyAngularVelocity",b)
bodyAV.angularvelocity = Vector3.new(0,0,0)
bodyAV.P = 1250
bodyAV.maxTorque = Vector3.new(4000, 4000, 4000)
Report Abuse
TehChikenHater is not online. TehChikenHater
Joined: 11 Jun 2012
Total Posts: 497
08 Oct 2012 02:11 PM
@Fedora,

Correct, but for maxTorque I qould do
Vector3.new(math.huge,math.huge,math.huge)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image