2

Is it possible to specify which nodes the light source affects? I would like to use ambient light but exclude 1 object from getting affected. I did the the homework and the appropriate property looks like categoryBitMask.

I followed this answer at Physics bodies other than my player won't call didBeginContact when colliding and set categoryBitMask of ambientLight to 1 and objects to 4 (in bits that is 1 and 100). I also tried setting it to 100 and 1 but it didn't work too. What am I missing? I set all categoryBitMasks in Scene Editor.

Community
  • 1
  • 1
potato
  • 4,479
  • 7
  • 42
  • 99

0 Answers0