I know there are topics on this already but none of them helped me
I'm trying to make a brick group for my game
$brick_group = new SimGroup(BrickGroup_1337 : BrickGroup_888888)
{
bl_id = "1337";
isPublicDomain = 0;
};
mainBrickGroup.add($brick_group);
%brick = new fxDTSbrick()
{
datablock = "brick4cube1data";
position = "60 10 0";
angleID = "0";
rotation = "0 0 0 0";
scale = "1 1 1";
colorID = 1;
printID = 1;
colorFxID = "0";
shapeFxID = 0;
isPlanted = 1;
};
%brick.plant();
$brick_group.add(%brick);
and it spawns the brick but I can't collide with it and I can't use tools on it