I also can set interaction masks with no issues, but as soon as Object Layer used for physics is changed it stops working (I also mapped WeaponP layer to the layer of the Left/Right Controller)
Any idea ? Or if someone can try to reproduce this ?
You may wish to review the official docs for the Near-Far Interactor to see what role layers and layermasks play in the process via the Interaction Layer Mask property.
The difference between Layers vs LayerMasks:
“There are 10 types of people in this world: those who understand binary, and those who don’t.”
If you’re still struggling after reviewing the docs, try this formula to communicate complex technical issues in the forum:
This is the bare minimum of information to report:
what you want
what you tried
what you expected to happen
what actually happened, log output, variable values, and especially any errors you see
links to actual Unity3D documentation you used to cross-check your work (CRITICAL!!!)
The purpose of YOU providing links is to make our job easier, while simultaneously showing us that you actually put effort into the process. If you haven’t put effort into finding the documentation, why should we bother putting effort into replying?
Indeed the nearfar interactor works via casters. The curve caster has its own layer masks, as does the sphere caster for near interaction. You’ll want to update both.
If you want global control, as was also mentioned in the thread you can also customize the interaction layer mask on the near far interactor itself.