is there a way to ignore the collider from the box to the bat so when i build by the box it does not destroy the box. because the batt is sticking threw the box
private void additem(BasePlayer player, BoxStorage box1)
{
ElectricBattery batt;
batt = GameManager.server.CreateEntity("assets/prefabs/deployable/playerioents/batteries/smallrechargablebattery.deployed.prefab") as ElectricBattery;
batt.SetParent(box1);
batt.transform.localPosition = new Vector3(0.28f, 0.50f, 0f);
batt.transform.localRotation = Quaternion.Euler(new Vector3(0, 0, 0));
batt.Spawn();
}