Search Issue Tracker
Fixed in 3.0.6
Votes
0
Found in [Package]
3.0.9
3.2.2
3.3.0
3.4.0-pre.2
Issue ID
XRIT-365
Regression
No
XR Ray Interactor Cone Cast doesn't match Gizmo in Scene View when Cone Cast Angle is higher than 10 degrees
Steps to reproduce:
1. Open the attached user's project "XRI.zip"
2. Open the "Physics Debugger" window under "Window > Analasys > Physics Debugger"
3. Enable "Show queries", "Show shapes: Sphere" and "Casts"
4. Enter Play Mode and switch to Scene View
5. Select the "Ray Interactor" GameObject
6. In the Inspector change the "Cone Cast Angle" to be higher than 10 degrees
Expected results: The physics queries match the Gizmo of Cone Cast Angle
Actual results: The physics queries do not match the Gizmo of Cone Cast Angle when the value is higher than 10 degrees (See attached Repro1.png)
Reproducible with: 2022.3.52f1, 6000.0.26f1, 6000.1.0a3
Could not test on 2021.3.45f1 due to Physics Debugger not having Queries for Sphere Casts
Testing Environment: Windows 11 23H2
Not reproducible on: no other environment tested
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
- Entities Hierarchy window allows Cyclic nesting and throws an “ArgumentException: Cyclic nesting detected” error when dragging a Prefab onto the same Prefab in the Entities Hierarchy
- EnterPlayModeOptions doesn't take effect if user manually modifies m_EnterPlayModeOptionsEnabled to 0
Resolution Note:
This was previously fixed in XRI 3.0.6 with the addition of a checkbox that turns on the same live sphere-casting debug view that the physics debugging shows. The estimated visual of cone casting is to help guide the maximum size of the sphere cast at a distance and not meant to represent the physics 1-to-1. When the angle is too large, the result is effectively a sphere cast. We will be adding some constraints to this angle in a future version of XRI for both performance and usability reasons.