I have a script which relies on creating floating bricks. Creating the actual bricks work, and they look as if they are planted. However, they behave as if they are ghost bricks (/getID doesn't notice them, no collision, no ray casting, etc). Interestingly, a few seemingly random bricks have proper collision and work as expected.
%obj = new fxDTSBrick()
{
position = %x * 2 SPC %y * 2 SPC %z;
datablock = brick4xCubeData;
colorId = %c;
isPlanted = true;
};
brickGroup_888888.add( %obj );
%obj.plant();
I've tried using a queue and only placing one brick every second (to see if it was due to the rate of brick creation), which doesn't fix it and even removes the few random working bricks.