Fix check for character controller debug drawing


Missing the actual check for the character controller so all capsules
were drawn as if they were part of a character controller with wrong
rotations.

This amends commit 8b71b99f57c25343947c80efb33c2b9c35df1c5a

Change-Id: I46904942849a64f386f226f71109152e9bbe2739
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
commit05af7a52b371eaa12cc1f93f317b3b025f2e857c
parent543f0512fa31f0c75ba339ec77e6eaf7cc019eb5
authorJonas Karlsson <jonas.karlsson@qt.io>
committerJonas Karlsson <jonas.karlsson@qt.io>
commit timeThu, 7 Mar 2024 18:40:47 +0000