So, I have aa problem which occurs on 2 specific objects: candle and small ores.
They behave like rocket under any conditions. I have tried disable/enable any property, and no result. Problem is shown in the video:
Ores behave the same. Only diffirence is them having a bit more parts.
What can be cause of such weird behavior?
Nope, this not helped. I have tried to do little to everything, and only thing which fixes issue is increasing size of entire assembly, which is not solution in my case.
Nope that’s unrelated because that issue was code-related. Mine is just small models being glitchy.
Oddly enough, changing cylinders to blocks in candle fixes issue. But not for rock.
And sadly I need candle to roll so that’s again not solution.
Yeah I just watched the video and saw that that was probably a different issue.
Just downloaded the file and am testing now.
Looks like you enabled CanCollide on the 2 cylinders. Just disable CanCollide on the cylinders and enable it on the hitbox like @SelDraken said. (Just tested it and it works)
Issue is in the way my game operates. (Hitbox exists for only positioning model relatively to camera, world and to test if placed object is inside build zone)
For candle it may work, but I need it to roll in some situations.
But even if not count that, I can’t apply same logic to rock ore node. I can’t disable-enable anything on it.
Hitbox itself shouldn’t interact with anything - it’s only use is code - positioning, size calculations, and such.
Story about why I even added it is long, but reasonable.
There are also things you can do to keep things from colliding. You could put all the parts of your object into a collision group for ‘object parts’ and set them not to collide with themselves.
Also, if you put a collision constraint on a cylinder, and attach it to the other cylinder, it will keep them from colliding with each other
I have tried to do that too.
Ores already have only main part collideable, and even if I make only 1 part of candle collideable, it still not works.
2 Cylinders are already not colliding with eachother because they are welded and roblox treats them as assembly. There’s no need to make additional constraints to remove collission between this 2 parts.
Yeah, except I don’t think that roblox is treating them as an assembly. I’m pretty sure the cylinders are colliding with each other. Making a collision group is the easiest option if you don’t want CanCollide off for other objects. Also, for some reason you’re using cylinder meshes (worse for performance) instead of default roblox cylinders which also is probably causing issues.
I just tested it again and yeah, collision groups didn’t help for some reason. The easiest thing you can do is to set CanCollide off for all the ores in the sandstone (won’t really change anything) and make the candle mesh a roblox cylinder with CanCollide on (leave it off for everything else in the candle).