robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 03 May 2014 12:08 AM |
Like Battlefield, Darkness 2, etc. In first person, there's animations. Clever use of welds or is there something they don't want you to know? -=Robo=- |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
| |
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 03 May 2014 12:41 AM |
Why do you need to do something special to play animations in first person? Do they not work if you are in first person? |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 03 May 2014 11:10 AM |
I'm talking about like, when you can see your arms in first person, the characters arms bob and such as you walk. I have no idea how to use welds for that. -=Robo=- |
|
|
| Report Abuse |
|
|
|
| 03 May 2014 11:11 AM |
| Just use a while loop on the C1 property, changing it in about .03 seconds. |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 03 May 2014 11:13 AM |
Wouldn't that be... well, laggy? I seriously thought there was an alternative to it. -=Robo=- |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
| |
|
youssef04
|
  |
| Joined: 22 Jan 2011 |
| Total Posts: 1745 |
|
|
| 03 May 2014 12:17 PM |
| On free models, there was a script that made that possible. I think they welded the arms to the head or something like that. |
|
|
| Report Abuse |
|
|
|
| 03 May 2014 12:24 PM |
You weld arms to the torso. Edit C0 to your needs then change C1 every fraction of a second to give the bobbing effect |
|
|
| Report Abuse |
|
|
|
| 03 May 2014 12:24 PM |
| You just gotta make fake arms and weld them to the other arms, I did that before and it wasn't laggy. |
|
|
| Report Abuse |
|
|
|
| 03 May 2014 12:32 PM |
Yeah. Weld fake arms to regular arms.
And weld real arms to torso.
Adjust properties.
weld.Part0 = torso weld.Part1 = arms weld.C0 = CFrame.new() --starting point weld.C1 = CFrame.new(0,0,0) --offset |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 03 May 2014 12:36 PM |
how exactly would you rotate it with C0? i think you multiply it by cframe.angles or something -=Robo=- |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
| |
|
|
| 03 May 2014 01:22 PM |
You rotate with C1. And yeah, you multiply by CFrame.fromEulerXYZ(radiansXYZ).
|
|
|
| Report Abuse |
|
|
|
| 03 May 2014 01:34 PM |
http://www.roblox.com/Guns-guns-guns-place?id=155612113
Might not be the most efficient script, just look at that so you have a base and re-make it. |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 03 May 2014 02:04 PM |
Jeez, sam, that was a little more than expected. Thanks a lot. -=Robo=- |
|
|
| Report Abuse |
|
|