Hergest
|
  |
| Joined: 17 May 2011 |
| Total Posts: 309 |
|
|
| 13 Jul 2013 04:47 PM |
So i'm willing to make my very first first-person engine. What it does is clone the player arms, weld it to a specific location (infront of camera). And insert my own animations.
Can someone please help me achieving this? |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2013 04:53 PM |
| Wait if you already know what you have to do then why can't you do all of it? |
|
|
| Report Abuse |
|
|
Hergest
|
  |
| Joined: 17 May 2011 |
| Total Posts: 309 |
|
|
| 13 Jul 2013 04:58 PM |
| I have absolutely no idea of what methods to use and stuff. I have this imagination in my head that i'll do everything and fail incredibily. |
|
|
| Report Abuse |
|
|
Hergest
|
  |
| Joined: 17 May 2011 |
| Total Posts: 309 |
|
|
| 13 Jul 2013 04:59 PM |
This is what i have for now.
---
local Tool = script.Parent local player = game.Players.LocalPlayer.Character local Right = player["Right Arm"] local Left = player["Left Arm"]
function clone() Right:clone() Left:clone() -- weld.Right.CFrame = game.Workspace.Part weld.Left.CFrame = game.Workspace.Part
end
Tool.Selected:connect(clone)
--- |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2013 06:14 PM |
I would get on of those arm scripts that follow the camera from free models, and try to understand it, and perhaps edit it a little.
I presume that the math is quite complicated, but perhaps you could understand it by studying it. |
|
|
| Report Abuse |
|
|
Hergest
|
  |
| Joined: 17 May 2011 |
| Total Posts: 309 |
|
|
| 13 Jul 2013 06:45 PM |
| Can you give me the name of one of those arm scripts? |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2013 06:52 PM |
| I didnt do it that way. what I did was clone the arms and shirt along with a humanoid into a model stored in camera, weld the fake arms to the real arms and then disable the players neck joint, resize the head to 0.2, 0.2, 0.2, set the transparency to 1, destroy the face, then enable the neck again and set the welds. It works nicely enough :) |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2013 06:53 PM |
| You aren't ready for something like this, its difficult to master, and most of the time getting the right Vector3 values are just trial and error. |
|
|
| Report Abuse |
|
|
Hergest
|
  |
| Joined: 17 May 2011 |
| Total Posts: 309 |
|
|
| 13 Jul 2013 07:25 PM |
| I know its difficult to master. But just give me a small little guide. Like explain me how i'd do it. I don't care if i end up failing miserablely. I'd learn a lot. |
|
|
| Report Abuse |
|
|