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 » Scripting Helpers
Home Search
 

+Vector3

Previous Thread :: Next Thread 
person725 is not online. person725
Joined: 11 Oct 2009
Total Posts: 535
01 Jan 2014 02:54 PM
If I wanted to position a brick anchored exactly 1 stud to the left of the players arm, I could do + Vector3 but what if the player is facing a different direction? How do I make it exactly to the left?
Report Abuse
person725 is not online. person725
Joined: 11 Oct 2009
Total Posts: 535
01 Jan 2014 02:55 PM
b1
Report Abuse
person725 is not online. person725
Joined: 11 Oct 2009
Total Posts: 535
01 Jan 2014 02:56 PM
b2
Report Abuse
person725 is not online. person725
Joined: 11 Oct 2009
Total Posts: 535
01 Jan 2014 03:00 PM
b3
Report Abuse
person725 is not online. person725
Joined: 11 Oct 2009
Total Posts: 535
01 Jan 2014 03:03 PM
b4
Report Abuse
person725 is not online. person725
Joined: 11 Oct 2009
Total Posts: 535
01 Jan 2014 03:07 PM
b5
Report Abuse
person725 is not online. person725
Joined: 11 Oct 2009
Total Posts: 535
01 Jan 2014 03:12 PM
b6
Report Abuse
CrniOrao is not online. CrniOrao
Joined: 12 Oct 2008
Total Posts: 2274
01 Jan 2014 03:33 PM
Using lookVector.
Report Abuse
person725 is not online. person725
Joined: 11 Oct 2009
Total Posts: 535
01 Jan 2014 03:38 PM
Thanks
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
01 Jan 2014 04:08 PM
brick.CFrame = brick.CFrame * CFrame.new(-1, 0, 0)
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
01 Jan 2014 04:08 PM
Or if you want position

brick.Position = brick.CFrame * Vector3.new(-1, 0, 0)
Report Abuse
person725 is not online. person725
Joined: 11 Oct 2009
Total Posts: 535
01 Jan 2014 04:08 PM
ok, but what if I turn an then its behind my arm??
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
01 Jan 2014 04:09 PM
This will place it left relative to the CFrame, so no matter which way the part is facing, it will be left of that
Report Abuse
person725 is not online. person725
Joined: 11 Oct 2009
Total Posts: 535
01 Jan 2014 04:10 PM
ok danks
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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