Problem description:
Well I made a car demo, it has a "bug" but I honestly don't know how to fix it.
The "Bug" is that if you have 2 cars next to each other they get messed up and the tiles of the cars start stacking. I don't really know how to fix it...Ideas?
Here's the demo -
http://developer.byond.com/hub/Poal/Multi-TileCarDemo
ID:143241
![]() Nov 11 2007, 6:40 am
|
|
![]() Nov 11 2007, 7:33 am
|
|
Okay I fixed the problem, I added like serial numbers to cars, but I have another bug...
|
Ummm it allows you to drive over parts of the other car...I know why, because when you move it uses
loc.locate(x,y,z) It teleports the 3 pieces of the car, so it can teleport parts of the car onto dense things...I tried using step() but that made even more bugs...Ideas? |
Jman9901 wrote:
Don't teleport it. Have something like C.loc = src.loc But that is teleporting...step() and walk() and move() are not...If something changes your location suddenly and can change it drastically, that's teleporting... |