sdfgw
|
  |
 |
| Joined: 08 Jan 2009 |
| Total Posts: 41681 |
|
|
| 13 Oct 2011 10:38 AM |
| How would I go about making this? I'm not sure if there's a type of joint that allows easy hinging. |
|
|
| Report Abuse |
|
|
RoySkillz
|
  |
| Joined: 26 May 2011 |
| Total Posts: 5967 |
|
| |
|
sdfgw
|
  |
 |
| Joined: 08 Jan 2009 |
| Total Posts: 41681 |
|
| |
|
| |
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
|
| 13 Oct 2011 02:24 PM |
hi sdfgw
Yeah, I just looked at a ragdoll script and it uses Glues.
Here is a part I cut out:
if x[i].Name=="Head" then local zem=x[i]:Clone() zem.Parent=mode zem.Name="notahead" local Neck = Instance.new("Weld") Neck.Name = "Neck" Neck.Part0 = zam Neck.Part1 = zem Neck.C0 = CFrame.new(0, 1.5, 0) Neck.C1 = CFrame.new() Neck.Parent = zam end |
|
|
| Report Abuse |
|
|
|
| 13 Oct 2011 02:26 PM |
"it uses Glues"
"local Neck = Instance.new("Weld")"
i think you cut out the wrong part, the limbs are what use glue, not the neck |
|
|
| Report Abuse |
|
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
|
| 13 Oct 2011 02:29 PM |
@crazypotato4
I didn't notice that, thanks! l0l
if x[i].Name=="Right Arm" then local Limb=x[i]:Clone() Limb.Parent=mode Limb.CFrame = zam.CFrame * CFrame.new(1.5, 0, 0) local Joint = Instance.new("Glue") Joint.Name = "RightShoulder" Joint.Part0 = zam Joint.Part1 = Limb Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) Joint.Parent = zam
local B = Instance.new("Part") B.TopSurface = 0 B.BottomSurface = 0 B.formFactor = "Symmetric" B.Size = Vector3.new(1, 1, 1) B.Transparency = 1 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) B.Parent = mode local W = Instance.new("Weld") W.Part0 = Limb W.Part1 = B W.C0 = CFrame.new(0, -0.5, 0) W.Parent = Limb
end |
|
|
| Report Abuse |
|
|
sdfgw
|
  |
 |
| Joined: 08 Jan 2009 |
| Total Posts: 41681 |
|
|
| 16 Oct 2011 06:11 AM |
| imma bump dis because I can't get that to do anything |
|
|
| Report Abuse |
|
|
eJorge
|
  |
| Joined: 09 Jun 2011 |
| Total Posts: 5966 |
|
|
| 16 Oct 2011 06:56 AM |
| Sorry about this dumb question... But what is a ragdoll script? That script that makes an humanoid die without breaking joints? |
|
|
| Report Abuse |
|
|
sdfgw
|
  |
 |
| Joined: 08 Jan 2009 |
| Total Posts: 41681 |
|
|
| 16 Oct 2011 06:58 AM |
well, generally it RE-makes the joints after the character dies.
But it's moot now, I managed to get the Glue working. I'm having to experiment with the CFrames though :l |
|
|
| Report Abuse |
|
|
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
|
| 16 Oct 2011 07:05 AM |
| I've got the CFrames of a default humanoid in one of m "scratch NPCs" (in my models). You can just take the code and create a function to call it on the humanoid when the Died event fires. |
|
|
| Report Abuse |
|
|
pighead10
|
  |
| Joined: 03 May 2009 |
| Total Posts: 10341 |
|
|
| 16 Oct 2011 07:14 AM |
GUI CONVERTER
NO I'M NOT STALKING YOU
btw you need to use glues with weirdly confusing cframes
|
|
|
| Report Abuse |
|
|
sdfgw
|
  |
 |
| Joined: 08 Jan 2009 |
| Total Posts: 41681 |
|
|
| 16 Oct 2011 07:21 AM |
yay for not checking thread
MNN, I think I got it working but play solo is lagging so much I respawn before I can see if it's worked -.-
pighead10, stop begging me for scripts, it's just annoying me now |
|
|
| Report Abuse |
|
|
pighead10
|
  |
| Joined: 03 May 2009 |
| Total Posts: 10341 |
|
|
| 16 Oct 2011 07:47 AM |
| the point is to annoy you so much you give in btw |
|
|
| Report Abuse |
|
|