|
| 13 Dec 2014 10:32 PM |
I weld a part to my torso, yet I freeze.
The part is unanchored, uncollidable, but I STILL freeze. I'm a huge noob to welding, so any help is appreciated. Thanks!
Script:
tar.CFrame = player.Character.Torso.CFrame * CFrame.new(0, 30, 0) w1 = Instance.new("Weld", player.Character.Torso) w1.Part0 = player.Character.Torso w1.C0 = player.Character.Torso.CFrame:inverse() w1.Part1 = tar w1.C1 = tar.CFrame:inverse()
tar.CanCollide = false tar.Anchored = false
Thanks again if you can help :P |
|
|
| Report Abuse |
|
|
|
| 13 Dec 2014 10:45 PM |
| am i inversing wrong? I tried flipping but no avail.. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 13 Dec 2014 10:49 PM |
You should never parent a weld before setting its C0 and C1 and Part0 and Part1
Is the part attached to something else?
|
|
|
| Report Abuse |
|
|
|
| 13 Dec 2014 10:54 PM |
I changed it so it parents at the end, but nothing changed.
It is only located in workspace. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 14 Dec 2014 12:43 AM |
'tar' might be attached to something thats anchored though Like the ground |
|
|
| Report Abuse |
|
|
anaIyze
|
  |
| Joined: 29 May 2014 |
| Total Posts: 2048 |
|
|
| 14 Dec 2014 12:45 AM |
| Learn to properly weld, then come back |
|
|
| Report Abuse |
|
|
|
| 14 Dec 2014 07:38 AM |
| Analyze, learn that this is a helping forum. If you are too arrogant to help, there's a door. Thanks, bud. |
|
|
| Report Abuse |
|
|
|
| 14 Dec 2014 08:34 AM |
^
oooooooooooooooooooooooooo |
|
|
| Report Abuse |
|
|
|
| 14 Dec 2014 10:12 AM |
| Except that this isn't a helping forum. This is for scripters. If you want a helping forum, the correct one is Game Development. Of course, most people come here, so all the people willing to help are normally here too. |
|
|
| Report Abuse |
|
|
anaIyze
|
  |
| Joined: 29 May 2014 |
| Total Posts: 2048 |
|
|
| 14 Dec 2014 12:58 PM |
Your problem is your using :inverse(); incorrectly. Now get out.
|
|
|
| Report Abuse |
|
|
|
| 14 Dec 2014 01:00 PM |
| What surfaces does your part have? Does it have studs and indents? It may be attached to the baseplate. |
|
|
| Report Abuse |
|
|
|
| 14 Dec 2014 01:16 PM |
| weld.C0 = weld.Part1.CFrame:toObjectSpace(weld.Part0.CFrame):inverse() |
|
|
| Report Abuse |
|
|
|
| 15 Dec 2014 04:20 PM |
@Jarod
Game Development never has any scripters that help whatsoever. If you look at the Scripters forum threads, almost 50% are help requests.
I am a scripter myself, pretty good when it doesn't come to welding. I was just starting to learn it, and the fact that I get told to go learn how to weld properly after I did indeed attempt to learn from the wiki is just rude.
@analyze
Thanks for helping, but one tip. Don't tell get out to someone who has been here 5 almost 6 years longer, as well as over 3,000 more posts. There's no point in it. |
|
|
| Report Abuse |
|
|
|
| 15 Dec 2014 04:28 PM |
| and thanks guys who helped. |
|
|
| Report Abuse |
|
|
|
| 15 Dec 2014 04:45 PM |
tar.CFrame = player.Character.Torso.CFrame * CFrame.new(0, 30, 0) local cf = tar.CFrame -- get CF because as soon as Part0/1 is set, tar changes pos w1 = Instance.new("Weld", player.Character.Torso) w1.Part0 = player.Character.Torso w1.Part1 = tar w1.C0 = player.Character.Torso.CFrame:inverse() * cf w1.C1 = CFrame.new()
tar.CanCollide = false tar.Anchored = false |
|
|
| Report Abuse |
|
|
anaIyze
|
  |
| Joined: 29 May 2014 |
| Total Posts: 2048 |
|
|
| 15 Dec 2014 08:20 PM |
| I've been here since 2008, and I'm still smarter than you. |
|
|
| Report Abuse |
|
|
|
| 15 Dec 2014 08:54 PM |
| analyze is a troll, its best to just ignore him from now on guys :) peace |
|
|
| Report Abuse |
|
|
anaIyze
|
  |
| Joined: 29 May 2014 |
| Total Posts: 2048 |
|
|
| 15 Dec 2014 09:09 PM |
| Lol, I'm not even trolling. Don't listen to above, just a attention seeking idiot |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 15 Dec 2014 09:25 PM |
'just a attention seeking idiot' Ironic. |
|
|
| Report Abuse |
|
|
| |
|
|
| 15 Dec 2014 09:56 PM |
"Except that this isn't a helping forum. This is for scripters. If you want a helping forum, the correct one is Game Development. Of course, most people come here, so all the people willing to help are normally here too."
I don't know this Game Development thread. You mean Game Design? Game Design != Game Development. This and Game Design are both under Game Creation and Development, however. Not trying to be rude or anything, just saying.
"I've been here since 2008, and I'm still smarter than you. "
It's the arrogant who are usually the worst at what they do best. |
|
|
| Report Abuse |
|
|
|
| 16 Dec 2014 03:36 PM |
"I've been here since 2008."
Yeah... okay. Seeing that half your places are copied and/or mass disliked, you have much evidence to support your intelligence. |
|
|
| Report Abuse |
|
|
goro7
|
  |
| Joined: 01 Jul 2009 |
| Total Posts: 735 |
|
|
| 16 Dec 2014 03:45 PM |
@analyze
Kids these days... |
|
|
| Report Abuse |
|
|
|
| 16 Dec 2014 06:38 PM |
| like i said, giving analyze any attention will probably just encourage him, after all thats all he really wants. please just ignore him and he'll go away after he gets bored |
|
|
| Report Abuse |
|
|
|
| 16 Dec 2014 07:23 PM |
| If you still are confused about welding check out PeasFactory on youtube he has a guid on basic welding that might help |
|
|
| Report Abuse |
|
|