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
 

lookVector

Previous Thread :: Next Thread 
hujkin is not online. hujkin
Joined: 10 Feb 2014
Total Posts: 103
16 Sep 2017 05:58 PM
I wanna make a part go Infront of a play in a specific angle, is this possible with combining CFrames to make it go in front and lookVector to make it ALWAYS be where the player is facing?
Report Abuse
Tacobell158 is not online. Tacobell158
Joined: 27 May 2016
Total Posts: 220
16 Sep 2017 06:16 PM
part.CFrame.lookVector
Report Abuse
WillieTehWierdo200 is not online. WillieTehWierdo200
Joined: 13 Aug 2008
Total Posts: 1147
16 Sep 2017 06:19 PM
More specifically, look into Local and World space:
http://wiki.roblox.com/index.php?title=CFrame#Local_and_World_Space
Report Abuse
Quasiduck is not online. Quasiduck
Joined: 28 Sep 2008
Total Posts: 2437
16 Sep 2017 06:30 PM
part.CFrame = HumanoidRootPart.CFrame + HumanoidRootPart.CFrame.lookVector*DistanceInStuds
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