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
 

Changing the rotation while welding?

Previous Thread :: Next Thread 
bluefrog53 is not online. bluefrog53
Joined: 05 Feb 2012
Total Posts: 766
13 Oct 2015 05:26 PM
So I have a part welded to a NPC that's dancing. However the part has a mesh and no matter which way I rotate the part it always goes back to the same rotation, a rotation I don't want , how can I fix this? Thanks.

repeat wait() until script.Parent.Parent["Right Arm"]
Arm = script.Parent.Parent["Right Arm"]
Weld = Instance.new("Weld")
Weld.Parent = script.Parent
Weld.Part0 = script.Parent
Weld.Part1 = Arm
Weld.C0 = CFrame.new(0,2,0)
Report Abuse
bluefrog53 is not online. bluefrog53
Joined: 05 Feb 2012
Total Posts: 766
13 Oct 2015 05:33 PM
Please help me with this ;-;
Report Abuse
ShadowOfCrimson is not online. ShadowOfCrimson
Joined: 14 Dec 2009
Total Posts: 2153
13 Oct 2015 05:49 PM
A CFrame is a position and a rotation, if you want to rotate it otherwise, do your CFrame(0,2,0)*CFrame.Angles(x,y,z)
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