|
| 26 Aug 2013 06:53 PM |
You do it with welds. Other than that I have no clue. Some examples of games that do this are Base Wars: http://www.roblox.com/Base-wars-The-Land-since-2009-Read-Description-place?id=18164449 and Paintball!: http://www.roblox.com/Paintball-Fixing-Again-place?id=4175379 |
|
|
| Report Abuse |
|
|
qrrrq
|
  |
| Joined: 27 Jan 2013 |
| Total Posts: 1252 |
|
|
| 26 Aug 2013 07:09 PM |
| You should look into the mechanics of the ROBLOX flashlight, they use the same tech as Basewars. |
|
|
| Report Abuse |
|
|
|
| 26 Aug 2013 07:21 PM |
| You mean the flashlight gear? |
|
|
| Report Abuse |
|
|
|
| 26 Aug 2013 07:24 PM |
| I just tested out the flashlight gear, it appears to be entirely different. |
|
|
| Report Abuse |
|
|
|
| 26 Aug 2013 07:26 PM |
You mean, when you move your mouse, the character looks at your mouse, including your gun? Like a rotate player when moved mouse?
~DevilDefeater - Popped your bubble~ |
|
|
| Report Abuse |
|
|
|
| 26 Aug 2013 07:31 PM |
| Yes, I have that part down. I just don't know how to point the character's head and arms toward the mouse. |
|
|
| Report Abuse |
|
|
| |
|
|
| 26 Aug 2013 09:15 PM |
| Does anybody have an idea at all? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 26 Aug 2013 09:19 PM |
| Thanks, cnt. Telling me one of the properties of a weld helps immensly. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
shonclub
|
  |
| Joined: 05 Sep 2009 |
| Total Posts: 1331 |
|
|
| 26 Aug 2013 09:22 PM |
It's not a sarcasm..
It's a docasm. Dogasm. Do- Oh gawd.... Eww.. |
|
|
| Report Abuse |
|
|
|
| 26 Aug 2013 09:26 PM |
I am not sure if this is correct but:
local mouse = game.Players.LocalPlayer:GetMouse() pos = mouse.Origin local mov
mouse.Moved:connect(function() local moved = mouse.Origin.p - pos.p -- other stuff
|
|
|
| Report Abuse |
|
|
|
| 26 Aug 2013 09:27 PM |
Woops
*Check to see if moved moved left, right, up or down then move the tool accordingly, |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2013 06:55 PM |
Good job, you gave me a connection line, something I am more than capable of doing *pats on back sarcastically* |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2013 07:38 PM |
| I told you how to do it. If you put towards no effort how can you expect to accomplish anything? |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 29 Aug 2013 07:46 PM |
| Use this CFrame.new(from.CFrame.p, to.CFrame.p) -- Points front surface to target. Experiment with the angles. |
|
|
| Report Abuse |
|
|