generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Building Helpers
Home Search
 

Re: Wheel problems

Previous Thread :: Next Thread 
xiaoxiao181 is not online. xiaoxiao181
Joined: 14 Aug 2008
Total Posts: 5882
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
xiaoxiao181 is not online. xiaoxiao181
Joined: 14 Aug 2008
Total Posts: 5882
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
AllDemChips is not online. AllDemChips
Joined: 11 Nov 2013
Total Posts: 364
27 Dec 2013 12:48 AM
I think the wheels might be touching eachother, making it lock up. Otherwise, I dunno.
Report Abuse
scacman1967 is not online. scacman1967
Joined: 06 Aug 2011
Total Posts: 9288
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 is not online. 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
blueboy112 is not online. blueboy112
Joined: 15 Apr 2009
Total Posts: 802
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
xiaoxiao181 is not online. xiaoxiao181
Joined: 14 Aug 2008
Total Posts: 5882
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Building Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image