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: Question about wedge parts and angles.

Previous Thread :: Next Thread 
Shobobo99 is not online. Shobobo99
Joined: 30 Dec 2008
Total Posts: 5754
05 Aug 2011 02:21 PM
On a wedge part, how can you get the angle of the front surface based on the size of the part?
Report Abuse
thelastbunny is not online. thelastbunny
Joined: 07 Aug 2009
Total Posts: 2879
05 Aug 2011 02:22 PM
Surfaces don't have angles...

⅟½⅓¾⅔⅕⅖⅗⅘⅙⅚⅛⅜⅝⅞
Report Abuse
Shobobo99 is not online. Shobobo99
Joined: 30 Dec 2008
Total Posts: 5754
05 Aug 2011 02:23 PM
Okay, what I meant was the angle of the cut off side of the wedge part.
Report Abuse
Shobobo99 is not online. Shobobo99
Joined: 30 Dec 2008
Total Posts: 5754
05 Aug 2011 02:28 PM
bump.
Report Abuse
thelastbunny is not online. thelastbunny
Joined: 07 Aug 2009
Total Posts: 2879
05 Aug 2011 02:31 PM
Look into sine, cosine and tangent.

⅟½⅓¾⅔⅕⅖⅗⅘⅙⅚⅛⅜⅝⅞
Report Abuse
Shobobo99 is not online. Shobobo99
Joined: 30 Dec 2008
Total Posts: 5754
05 Aug 2011 02:35 PM
I know but I was hoping someone knew the formula :3
Report Abuse
Shobobo99 is not online. Shobobo99
Joined: 30 Dec 2008
Total Posts: 5754
05 Aug 2011 02:50 PM
small bump.
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
05 Aug 2011 02:56 PM
...
(a*a)+(b*b) = (c*c)


That's the pythagorean theorem which you learn in geometry.

Find the square root of c*c, and that's the lenth of the hypotnuse.
Report Abuse
Shobobo99 is not online. Shobobo99
Joined: 30 Dec 2008
Total Posts: 5754
05 Aug 2011 02:59 PM
I am not asking about the length of the hypotnuse of the WedgePart, I am asking how to calculate the angle of hypotnuse to the world axis.
Report Abuse
Shobobo99 is not online. Shobobo99
Joined: 30 Dec 2008
Total Posts: 5754
05 Aug 2011 03:26 PM
welp. I figured it out.

math.acos(s.Z/(s.Z^2+s.Y^2)^0.5)

s being the size of the part.
Report Abuse
Shobobo99 is not online. Shobobo99
Joined: 30 Dec 2008
Total Posts: 5754
05 Aug 2011 03:45 PM
Wait.. nvm that only works if the angle is 45 degrees. HELP. ._.
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