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 Rotation Shortcut

Previous Thread :: Next Thread 
ForceSky is not online. ForceSky
Joined: 30 Jul 2012
Total Posts: 2379
24 May 2013 03:32 PM
If you are having trouble using CFrame to rotate, here's an easier way. (If the rotation isn't complex)

1. Find out the position you want. (X, Y, Z)
2. Move the part to an open space and use studio rotate tool to rotate it.
3. Print the part's CFrame.
4. Replace the first 3 numbers with the XYZ of the position you want.
5. workspace.Part.CFrame = CFrame.new(THEFINALPRODUCT)

Report Abuse
dekkonot is not online. dekkonot
Joined: 22 Dec 2010
Total Posts: 6685
24 May 2013 03:45 PM
thank u so much i never would have figured it out myself!
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
24 May 2013 04:01 PM
Part.Rotation = Vector3.new()

Easier, much?
Report Abuse
NXTBoy is not online. NXTBoy
Joined: 25 Aug 2008
Total Posts: 4533
24 May 2013 04:42 PM
I don't have an installation of studio to hand - what exactly does the new rotation property do? Is it XYZ euler angles, or axis angle?
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
24 May 2013 04:47 PM
It's Euler angles, XYZ, it looks like origin coordinates, around the center of the part.

It's useful, I suppose.
Report Abuse
ForceSky is not online. ForceSky
Joined: 30 Jul 2012
Total Posts: 2379
25 May 2013 11:19 AM
Dek, were you being sarcastic, or not?
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