Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Question about the collision filter for the particles
#6
(15-11-2022, 08:31 AM)josemendez Wrote: A thickness of 1.5 meters is a lot, chances are the rays are hitting something right at their origin point.



Raycasts return the first hit only. If you want to return all particles within an area, using a box query would be a better approach indeed.

kind regards,

Hi, I tested my filter editing code and it doesn't seem to work, and I can't figure it out. I want this actor to collide every category except 3, this is what I'm doing currently and it doesn't collide with my ObiCollider with category 0

Am I using the ObiActor.SetFilterMask() wrong?

Code:
int colon0Mask = 1 << 3;
        colon0Mask = ~colon0Mask;
        ClothColonManager.instance.usedColon0.SetFilterMask(colon0Filter);
Reply


Messages In This Thread
RE: Question about the collision filter for the particles - by snowtv - 16-11-2022, 12:26 AM