-
-
Notifications
You must be signed in to change notification settings - Fork 116
Description
Issue description
When I add a PCam to any scene, I get the following error:
ERROR: The axis Vector3 ([num],[num],[num]) must be normalized.
The error changes according to the scene, and it is linked to the Follow Target. For example, I have a horse cam. It is set in Third Person mode with a springarm and the Follow Target is the horse Node3D that contains the mesh. That mesh is scaled at 0.013 (equally on all axes). The error the PCam gives is
ERROR: The axis Vector3 (0.013, 0.0, 0.0) must be normalized.
ERROR: The axis Vector3 (0.0, -0.0, -0.013) must be normalized.
The PCam is also set in Third Person mode with a springarm and the Follow Target is the Node3D which contains the skeleton and the mesh. It is scaled (unequally) at 1.0, 0.923, 1.0. The error I get is
ERROR: The axis Vector3 (0.0, 0.922649, 0.0) must be normalized.
Finally, I have a PCam on a building. It has no Logic or Follow Target, the building has no scaling, and the scene itself throws no errors. However, when I open up the full game scene (in the editor, not even launching the game), I get the following:
ERROR: The axis Vector3 (-0.009777, 0.0, -0.008568) must be normalized.
ERROR: The axis Vector3 (-0.008568, -0.0, 0.009777) must be normalized.
ERROR: The axis Vector3 (0.013, 0.0, 0.0) must be normalized.
ERROR: The axis Vector3 (0.0, -0.0, -0.013) must be normalized.
Obviously one is following the horse, but I don't know where the other one comes from.
- Toggling PCam visibility does not pause the errors.
- Changing the Follow Target to a Marker3D does stop the errors, even if that Marker3D is inside the improperly scaled thing
- Changing the Follow Target to any other Visual Instance within the improperly scaled thing does not stop the errors, even if that Visual Instance is properly scaled
- Changing the Follow Targets to Marker3D on the player (CharacterBody3D) and the horse (CharacterBody3D) clears all errors; the building's PCam may not be involved at all.
Steps to reproduce
- Node3D or VisualInstance3D-derived node, scaled, properly or improperly does not seem to make a difference
- PhantomCamera3D [Follow Mode: Third Person, Follow Target: aforementioned scaled Node3D or VisualInstance3D]
(Optional) Minimal reproduction project
No response