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 » Scripters
Home Search
 

Re: CFrame Transalating

Previous Thread :: Next Thread 
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
27 Sep 2015 09:42 PM
I have a script that prints the CFrame value of a part on a button click. The output is (as expected) a set of twelve numbers which have no direct correspondance to any simple values such as Position etc. Is there anyway I can seperately print the position and the angles without printing the full blown CFrame value? If not, is there anyway I can translate the 12 numbers to a more easy version to read? Thanks!
Report Abuse
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
27 Sep 2015 09:57 PM
bump
Report Abuse
Raphael7 is not online. Raphael7
Joined: 03 Dec 2008
Total Posts: 2479
27 Sep 2015 11:10 PM
part = game.Workspace.Part
pos = part.CFrame.p -- position
rx,ry,rz = part.CFrame:toEulerAnglesXYZ() -- angle
Report Abuse
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
28 Sep 2015 09:25 PM
Thank you so much!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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