Reject out-of-range PhysicsNode.filterGroup


The collision filter shader (isFilteredOut()/isBitSet() in
physxnode/qphysxworld.cpp) only applies the filter mask when both
objects' filterGroup values are in [0, 31]; any value outside that --
including 32, which the documentation incorrectly listed as in-range --
made the pair fail open, colliding normally regardless of
filterIgnoreGroups. Validate the range in the setter and warn instead
of silently accepting it, and fix the documented range to match the
implementation.

Adds a regression test that sets filterGroup to 32 and -1 and asserts
the property keeps its previous, in-range value instead of accepting
the out-of-range one. Pure property-level test, no simulation needed.

Pick-to: 6.12 6.11 6.8
Change-Id: Ic4785991087e8a8769204320790ff1b27e78d487
Reviewed-by: Kristoffer Skau <kristoffer.skau@qt.io>
commit831ba7a6088cb93a30004b3cb129e2f87df2f7cb
parent06986e415d9a3ffd21163fb9a7dfbe45daa2dbc3
authorJonas Karlsson <jonas.karlsson@qt.io>
committerJonas Karlsson <jonas.karlsson@qt.io>
commit timeWed, 12 Aug 2026 06:24:44 +0000