|
| 27 Dec 2013 12:25 AM |
Before I even say anything: 1)Yes I'm using hinges. 2)Yes the wheels are attached to parts 3)Yes I've built vehicles before so I know wtf I'm doing.
Still doesn't explain why this is happening. Saving my tank into workspace, the wheels stay on during online play, but if i use a script to clone the tank from anywhere (workspace, lighting, replicated storage, etc) to workspace, the wheels suddenly fall off. |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2013 12:29 AM |
You can see what I mean here:
http://www.roblox.com/G-Storm-Productions-Armor-Storm-place?id=52825256
The tank you see in the camera is cloned from ReplicatedStorage The tank is fine all on its own in workspace, but when it's cloned at all via script, the wheels fall off! |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2013 12:48 AM |
| I think the wheels might be touching eachother, making it lock up. Otherwise, I dunno. |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2013 03:46 AM |
The script that you are using, when cloning, does it have a line in it something like :MakeJoints? It may be the script isn't connecting the hinges.
You could try saving the working model in test mode, Then clone that save.
Although if your wheels are off a little bit, they might not work when regenerated or cloned. Try moving the wheels closer with NoGrid selected. |
|
|
| Report Abuse |
|
|
yelloball
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 2749 |
|
|
| 27 Dec 2013 06:08 AM |
Add a small wait to the script. Scripts sometimes break physics. |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2013 08:29 AM |
before you put the tank into Workspace add: wait() and right after you put it into Workspace add: tank:MakeJoints
so it's like this
wait() Tank.Parent = game.Workspace Tank:MakeJoints()
>> Schrödinger's cat walks into a bar. And doesn't. |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2013 11:37 AM |
| :MakeJoints() works like a charm. I might actually be able to finish this game after all. I always seem to get realy depressed everytime I run into a problem making a game. :/ |
|
|
| Report Abuse |
|
|