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
 

Re: In front of the torso.

Previous Thread :: Next Thread 
Intel65 is not online. Intel65
Joined: 19 Oct 2013
Total Posts: 9
24 Jun 2014 06:04 PM
This may sound like an easy problem to fix, I don't know how to, but it could fix 99 of my LUA problems.

How can I create a script so a brick would be in front of my torso. I have tried Vector3.new(5, 0, 0) or the other way, but, if I turn a different direction, it's not in front of my torso. How can I fix this?
Report Abuse
PerpetualMovement is not online. PerpetualMovement
Joined: 04 Dec 2012
Total Posts: 1001
24 Jun 2014 06:06 PM
Use welds.
Report Abuse
Intel65 is not online. Intel65
Joined: 19 Oct 2013
Total Posts: 9
24 Jun 2014 06:07 PM
Be more specific?
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
24 Jun 2014 06:16 PM
part.CFrame = torso.CFrame * CFrame.new(0,0,-5)
Report Abuse
DrAgonmoray is not online. DrAgonmoray
Joined: 29 Jul 2008
Total Posts: 17428
24 Jun 2014 06:16 PM
do you want to just put it in front of you, or attach it to the front of you?
Report Abuse
Intel65 is not online. Intel65
Joined: 19 Oct 2013
Total Posts: 9
24 Jun 2014 06:50 PM
@Rofl Thanks.
Report Abuse
domorox17 is not online. domorox17
Joined: 06 Mar 2012
Total Posts: 1710
24 Jun 2014 06:56 PM
@Rofl You may want to add not multiply. Multiplication can end up making it be on your torso at 0, and it would keep getting farther away.
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