Blockland Forums > Modification Help

Bricks sometimes not colliding properly with players/vehicles?

Pages: << < (2/3) > >>

otto-san:


--- Quote from: Brian Smithers on April 13, 2012, 09:15:30 PM ---go on steam and ill fix your bad code

--- End quote ---
not sure if it's a problem with bad code. i don't do anything out-of-the-ordinary.

it may be connected to placing too many bricks in a small time span, but if that were the case, the problem would come up in a lot of other things.


--- Quote from: computermix on April 13, 2012, 09:12:52 PM ---

--- End quote ---
nothing in truce's autobridge has anything that helps me, sorry.

Brian Smithers:


--- Quote from: otto-san on April 13, 2012, 09:22:45 PM ---not sure if it's a problem with bad code. i don't do anything out-of-the-ordinary.

it may be connected to placing too many bricks in a small time span, but if that were the case, the problem would come up in a lot of other things.

--- End quote ---
hey
go on steam and i bet you i can spot the error
BET SAYS I CAN


otto-san:


--- Quote from: Brian Smithers on April 13, 2012, 09:25:26 PM ---hey
go on steam and i bet you i can spot the error
BET SAYS I CAN


--- End quote ---
actually i just went back and made an edit to a code that did this

i had bricks being planted on regular intervals using schedules

i made the schedule always be 0 for planting, and the problem seems to be gone

odd.

Treynolds416:


--- Quote from: otto-san on April 13, 2012, 09:02:58 PM ---I've noticed that sometimes when I create bricks through script (making fxDTSBrick objects), they don't collide properly with players and vehicles.

They both just choppily move through them.

Raycasts also ignore them when this happens.


Any ideas of why this could be? I've run into it multiple times, and I'd like to know a solution.

--- End quote ---
This occurs when you don't do %brick.plant, there is no doubt in my mind that it could be anything else.
The exact phenomena that you described occurs when you do this. I extremely doubt that it is caused because too many bricks were planted at once. I think you should post an excerpt of your code, containing the schedule you mentioned, because you may have tried to do %brick.plant before %brick = new fxDTSBrick

otto-san:


--- Quote from: Treynolds416 on April 13, 2012, 11:05:46 PM ---This occurs when you don't do %brick.plant, there is no doubt in my mind that it could be anything else.
The exact phenomena that you described occurs when you do this. I extremely doubt that it is caused because too many bricks were planted at once. I think you should post an excerpt of your code, containing the schedule you mentioned, because you may have tried to do %brick.plant before %brick = new fxDTSBrick

--- End quote ---
Odd. There shouldn't be any circumstances under which plant isn't called.
Not sure what could have caused that to happen, but I should look into figuring it out.

Pages: << < (2/3) > >>

Go to full version