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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How do I rotate the mesh?

Previous Thread :: Next Thread 
KarthonTulliusEnnius is not online. KarthonTulliusEnnius
Joined: 30 May 2010
Total Posts: 230
14 Dec 2015 05:33 PM
I have a 'part' with a mesh and I am trying to rotate the part, it is welded to a person's torso and I want it to move with the person at a rotated angle, how can I do this. There are no registered errors it just doesn't work.

part.CFrame = CFrame.new(part.Position, part.CFrame * Vector3.FromNormalId(Enum.NormalId.Right))
Report Abuse
KarthonTulliusEnnius is not online. KarthonTulliusEnnius
Joined: 30 May 2010
Total Posts: 230
14 Dec 2015 05:34 PM
PS: It's supposed to move at a rotated angle of 90 degrees to it's right, hence this '(Enum.NormalId.Right)'.
Report Abuse
KarthonTulliusEnnius is not online. KarthonTulliusEnnius
Joined: 30 May 2010
Total Posts: 230
15 Dec 2015 05:53 AM
Answer please...?
Report Abuse
TehODSTRookie is not online. TehODSTRookie
Joined: 01 Dec 2011
Total Posts: 178
15 Dec 2015 05:59 AM
Rotate the part?
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
15 Dec 2015 06:01 AM
I see no errors so let's board the guess train!

- Script disabled
- Script not ever coming to that line
- part being the wrong part
- CFrame.new(Vector3.FromNormalId(Enum.NormalId.Right))
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