You haven’t given enough detail. “Does not work” gives me no information to work with. What exactly is not working. Is the button not working or is your issue that the player is now colliding despite collisions being off?
Have you tried something as simple as renaming it? In case a script is moving this item into a collision group? Also, I see that you have a snapshot of the meshparts collision properties… was this taken in game? If not, take a pic in game and see if its still those same properties.
And its turning its collisions to on when the game starts? Is this box identical to the other boxes that are working properly? Im assuming a script is setting its collision back on, I would go through the script that is in this giver. However, it isnt doing it to the other givers, so maybe try recreating just the box from scratch, since this is the one giving you issues.
Yes, the box is part of the meshes I showed in the image.
It turns on collisions when the game starts, there is only one box like that in the tycoon, but, I have a “preview” turret that shows the model too, that has different names. Whether I redo the box or not, it’ll always give me issues. And, when I remove the button and purchase object, It completely breaks the tycoon. It’s very strange.
Sounds to me without seeing more detail of your game setup, that a script is controlling the purchase and preview buttons and models, but im just speculating. Also explains why removing something that the script references will break the game as the script relies on this item to keep functioning.
If this is a big component of your game and you need to resolve it, it wont hurt to post your script to the scripting section and relay your issue there. But leave this post open in case im wrong.
Also have you tried making it all collidable and maybe the script will just invert it when game starts?
What is the Mesh Alt and Head? These might be giving collisions and if they have weird collision geometry it could be the root of the issue.
Also if your game doesn’t use those meshes for any collision or raycasting or whatever, then I suggest disabling CanQuery, CanTouch and setting its CollisionFidelity to Box as well. With those properties disabled it saves on collision calculations which can reduce lag.
I’m thinking that the tycoon would definitely require collision code in the placement of the final model. By default, everything is already in position, but invisible and non-collidable. When you press the ‘buy’ button, it would normally ‘place’ the item by setting the transparency and collisions to make the item appear. It seems that you are trying to add a transitional step that sets the model to partial transparency and the colour green before the purchase is finalised.
But the finalisation code that is supposed to make the item appear seems to be running and setting the collisions earlier than it should be.