So recently i’ve stumbled upon a weird collision problem in my game that started occuring very recently.
If my NPC doesn’t have CollisionGroupId
set to 1 (which is basically a group i use for objects that aren’t supposed to collide with eachother, for example the fling ball with a character/npc) then it doesn’t fall through the floor and works just fine, except you can push it (which isn’t supposed to happen)
otherwise, if the CollisionGroupId
is set to 1, then he simply falls through the floor.
This somehow doesn’t work for characters you play as, cause they still have the same CollisionGroupId
as the NPC. You can’t push them but you can fling them
Does this have to do something with the new CanTouch
function? Any help would be appreciated!