|
| 16 Jul 2011 11:14 PM |
I finally found out that some of my rockets are breaking because the .Touched event is failing to connect online. But I can't figure out what makes it happen. I made two nearly identical rockets and one works while the other does not. They both clone the rocket script into the rocket, but the rocket script sometimes doesn't connect .Touched.
I also found that putting a wait() before the connection USUALLY makes the connection work.
Anyone know what is happening?
|
|
|
| Report Abuse |
|
|
aboy5643a
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 2785 |
|
|
| 16 Jul 2011 11:21 PM |
| The physics update too slowly?? And when the item is travelling fast enough the movement will skip through parts as I think physics update once a frame which if travelling at high enough speeds will prevent collision. |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2011 11:24 PM |
I think it might be because the script is cloned in from a LocalScript. But that doesn't explain why it sometimes works. I changed the script from a LocalScript to a Script (and removed all local stuff), and now it always works.
|
|
|
| Report Abuse |
|
|
|
| 16 Jul 2011 11:25 PM |
@aboy
But the rocket just runs into the object and doesn't do anything (bounces off or tries to keep going because of BodyVelocity). The rocket doesn't travel very fast. |
|
|
| Report Abuse |
|
|
harryx
|
  |
| Joined: 25 Oct 2008 |
| Total Posts: 3209 |
|
| |
|
|
| 17 Jul 2011 12:24 AM |
| I blame the spinning chairs. |
|
|
| Report Abuse |
|
|
pighead10
|
  |
| Joined: 03 May 2009 |
| Total Posts: 10341 |
|
|
| 17 Jul 2011 02:46 AM |
| I've had this problem before. |
|
|
| Report Abuse |
|
|
Xre
|
  |
| Joined: 26 Jul 2010 |
| Total Posts: 670 |
|
|
| 17 Jul 2011 03:06 AM |
| Simple really, bad network optimization by Roblox, may or may not be their fault, could just be inexperience coders or they're lazy. Either way, it can't update fast enough. |
|
|
| Report Abuse |
|
|