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: i want this to point towards my mouse

Previous Thread :: Next Thread 
zac4545 is not online. zac4545
Joined: 19 Aug 2009
Total Posts: 2324
17 Aug 2013 10:32 PM
Tool.Parent.MainPart.CFrame = CFrame.new(Tool.Parent.MainPart.CFrame.lookVector) * CFrame.Angles(CFrame.new(Vector3.new(plrm.Hit.X,plrm.Hit.Y,plrm.Hit.Z)))

its not working right(it spazes)
are there any other smooth ways to do this?
Report Abuse
xSIXx is not online. xSIXx
Joined: 06 Aug 2010
Total Posts: 9202
17 Aug 2013 10:33 PM
Tool.Parent.MainPart.CFrame = CFrame.new(Tool.Parent.MainPart.Position, mouse.hit.p)
Report Abuse
ProfitMargin is not online. ProfitMargin
Joined: 01 Aug 2013
Total Posts: 285
17 Aug 2013 10:33 PM
Motor6D?
Report Abuse
zac4545 is not online. zac4545
Joined: 19 Aug 2009
Total Posts: 2324
17 Aug 2013 10:35 PM
xsixx helped

thx
Report Abuse
xSIXx is not online. xSIXx
Joined: 06 Aug 2010
Total Posts: 9202
17 Aug 2013 10:35 PM
get rekt'd profitmargin
Report Abuse
magnalite is not online. magnalite
Joined: 18 Oct 2009
Total Posts: 2467
17 Aug 2013 10:36 PM
T0T4L R3K4G3!!!!
Report Abuse
ProfitMargin is not online. ProfitMargin
Joined: 01 Aug 2013
Total Posts: 285
17 Aug 2013 10:37 PM
Ummm okay... I'm new anyway, look at my date I'm not an alt... How would I know that? I'm slow at most things!
Report Abuse
zac4545 is not online. zac4545
Joined: 19 Aug 2009
Total Posts: 2324
17 Aug 2013 10:41 PM
lol
Report Abuse
ProfitMargin is not online. ProfitMargin
Joined: 01 Aug 2013
Total Posts: 285
17 Aug 2013 10:44 PM
It's not funny what do you expect from a 12 year old kid that just learned Lua in 1 day?
Report Abuse
xSIXx is not online. xSIXx
Joined: 06 Aug 2010
Total Posts: 9202
17 Aug 2013 10:44 PM
you know we are joking, right
Report Abuse
ProfitMargin is not online. ProfitMargin
Joined: 01 Aug 2013
Total Posts: 285
17 Aug 2013 10:45 PM
No I take everything serious ... only a few people are an exception to that.
Report Abuse
ZachBloxx is not online. ZachBloxx
Joined: 26 Jun 2013
Total Posts: 2833
17 Aug 2013 10:46 PM
You can tell when someone is being sarcasting by their grammar and spelling. Well, some people.
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
17 Aug 2013 10:47 PM
"sarcasting by their grammar and spelling"

oh you
Report Abuse
ZachBloxx is not online. ZachBloxx
Joined: 26 Jun 2013
Total Posts: 2833
17 Aug 2013 10:47 PM
ogm how did i maik dat typo -- see?

*sarcastic
Report Abuse
ZachBloxx is not online. ZachBloxx
Joined: 26 Jun 2013
Total Posts: 2833
17 Aug 2013 10:48 PM
shudup im tierd
Report Abuse
ProfitMargin is not online. ProfitMargin
Joined: 01 Aug 2013
Total Posts: 285
17 Aug 2013 10:48 PM
I can only tell when people are actually talking to me I' not a very good at inferring, so I guess I'll move on now.
Report Abuse
zac4545 is not online. zac4545
Joined: 19 Aug 2009
Total Posts: 2324
17 Aug 2013 10:50 PM
nice conversation

on topic

now how do i make it go forward based on lookvector?
Report Abuse
ZachBloxx is not online. ZachBloxx
Joined: 26 Jun 2013
Total Posts: 2833
17 Aug 2013 10:52 PM
something.Position = ObjectYouWantItToGoInFront.Position + ObjectYouWantItToGoInFront.CFrame.lookVector * 2
Report Abuse
zac4545 is not online. zac4545
Joined: 19 Aug 2009
Total Posts: 2324
17 Aug 2013 10:57 PM
aint work
Report Abuse
zac4545 is not online. zac4545
Joined: 19 Aug 2009
Total Posts: 2324
17 Aug 2013 10:58 PM
keep in note im using mouse
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