godotengine / godotengine/godot
Ruler in 3D scene has no reference to space coordinates
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
Reproducible in Godot v4.5.dev (42c7f1442)
### System information
Godot v4.5.dev (42c7f1442) - Windows 10 (build 19045) - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4070 Ti (NVIDIA; 32.0.15.6117) - AMD Ryzen 7 3700X 8-Core Processor (16 threads)
### Issue description
The current implementation of the 3 Dimensional ruler only measures the absolute distance between two points in the scene, and does not include other potential information that could be helpful to the game designer; those being the coordinate projections of the distance vector in the cartesian plane as well as it’s angles in spherical coordinates.
https://github.com/user-attachments/assets/77e101b0-3978-497d-b3f8-1007ec4ba772
### Steps to reproduce
Create 3 wall in the 3D scene, each one parallel to the X-Z plane, X-Y plane, and Z-Y plane as picture shows.
Turn on collision for all walls, click the ruler tool in the toolbar and drag a measurement that crosses the 3d space.
### Minimal reproduction project (MRP)
[test2.zip](https://github.com/user-attachments/files/20647165/test2.zip)
Contributor guide
Research direction
Start by reproducing the issue with the provided minimal reproduction project and the 3D ruler tool in the editor. Trace how the ruler displays the distance between two points and determine where coordinate projections and spherical angles would belong. Done means the ruler presents those additional measurements for a dragged line through 3D space.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, godot
- Domain
- game-dev, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100