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
 

Vector Maths Help

Previous Thread :: Next Thread 
vat21s is not online. vat21s
Joined: 07 Jun 2010
Total Posts: 2508
25 Apr 2017 12:39 AM
I want to turn a part to point in the direction of my mouse. but the part is welded to another part that turns. I'm using this to control the Y rotation. ######################################################## * CFrame.Angles(0, (math.atan2(dir.X,dir.Z) + ####################################################### 0)
Report Abuse
vat21s is not online. vat21s
Joined: 07 Jun 2010
Total Posts: 2508
25 Apr 2017 12:40 AM
CFrame.Angles(0, (math.atan2(dir.X,dir.Z) + math.pi)+math.rad(Part.Parent.Parent.OriginPart.Rotation.Y), 0)

This filter is getting on my nerves.
Report Abuse
Weirdraidercs35 is online. Weirdraidercs35
Joined: 14 May 2015
Total Posts: 2275
25 Apr 2017 12:40 AM
hastebin pls


im a mlg
Report Abuse
vat21s is not online. vat21s
Joined: 07 Jun 2010
Total Posts: 2508
25 Apr 2017 12:42 AM
nvUFeL64
Report Abuse
vat21s is not online. vat21s
Joined: 07 Jun 2010
Total Posts: 2508
25 Apr 2017 12:45 AM
The model if you want to test it.
https://www.roblox.com/library/750958463/Boat
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