Moon943
|
  |
| Joined: 18 Dec 2008 |
| Total Posts: 48 |
|
|
| 04 Sep 2010 12:49 AM |
| Can you set a offset on a weld? |
|
|
| Report Abuse |
|
|
tofwap
|
  |
| Joined: 06 Dec 2007 |
| Total Posts: 6596 |
|
|
| 04 Sep 2010 12:50 AM |
You can offset the parts the weld is effecting, but not the weld itself.
what more specifically are you trying to do? |
|
|
| Report Abuse |
|
|
Moon943
|
  |
| Joined: 18 Dec 2008 |
| Total Posts: 48 |
|
|
| 04 Sep 2010 12:52 AM |
| Oh ok I'm trying to make armor, and I can't get a piece where I want it so, yeah... |
|
|
| Report Abuse |
|
|
tofwap
|
  |
| Joined: 06 Dec 2007 |
| Total Posts: 6596 |
|
|
| 04 Sep 2010 12:56 AM |
Oh well, i was on the verge of doing this a few days ago lol.
First thing you need to do when welding on armor is to anchored the entire body and get it to the default position (all surfaces parallel). so that the welds can be made properly.
Once you have the body anchored (and positioned properly) you could build each part around them or slip them into a pre-made set of armor and then weld it onto the (id go with pre-made)
|
|
|
| Report Abuse |
|
|
Moon943
|
  |
| Joined: 18 Dec 2008 |
| Total Posts: 48 |
|
|
| 04 Sep 2010 12:57 AM |
| It's just a little off, and I thought using a offset might work |
|
|
| Report Abuse |
|
|
Moon943
|
  |
| Joined: 18 Dec 2008 |
| Total Posts: 48 |
|
|
| 04 Sep 2010 01:00 AM |
Sorry late post... And also, huh? I'm using a weld like this:
w = Instance.new("Weld") w.Parent = game.Workspace.Moon943.Torso w.Part0 = game.Workspace.Moon943.Torso w.Part1 = game.Workspace.Moon943.Torso1 w.C0 = CFrame.new(0,0.5,-0.5)
Are you talking about the same thing? If you are I don't get it... |
|
|
| Report Abuse |
|
|
Moon943
|
  |
| Joined: 18 Dec 2008 |
| Total Posts: 48 |
|
| |
|
CrniOrao
|
  |
| Joined: 12 Oct 2008 |
| Total Posts: 2274 |
|
|
| 04 Sep 2010 02:43 AM |
I use this, everything explained...
me = game.Workspace.CrniOrao
local msh01 = Instance.new("BlockMesh") ---mesh msh01.Scale = Vector3.new(1.01,1.01,1.01) ---scale of mesh local prt = Instance.new("Part") ---part prt.CanCollide = false ---if true then broke prt.BrickColor = BrickColor.new("Dark stone gray") --color of part prt.Locked = true --locked part prt.Name = "Arm_1" --name of part prt.Size = Vector3.new(1,2,1) --size of part prt.Parent = me ---parent of part msh01.Parent = prt ---parent of the mesh local w = Instance.new("Weld") ---weld that make part dont fall w.Parent = prt --parent of weld w.Part0 = prt --The Part Attached To Part1 w.Part1 = me["Right Arm"] --The Part Attached To Part0 w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0) |
|
|
| Report Abuse |
|
|
Moon943
|
  |
| Joined: 18 Dec 2008 |
| Total Posts: 48 |
|
|
| 05 Sep 2010 02:51 AM |
| That doesn't answer my question... I asked "Can you put a offset on a weld?", if anyone knows please reply |
|
|
| Report Abuse |
|
|
tofwap
|
  |
| Joined: 06 Dec 2007 |
| Total Posts: 6596 |
|
|
| 05 Sep 2010 11:19 AM |
| @Moon, you can always add on an Vector3 to a CFrame, I just have no way of telling you what part you need to add on to get it to go the right direction you want it too. |
|
|
| Report Abuse |
|
|