godotengine / godotengine/godot-docs

Ray-casting docs: incorrect dictionary key

Open
#5,393 1 comment 0 reactions 0 assignees View on GitHub
area:manual bug topic:physics
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:**
3.4 stable

**Issue description:**
Ray-casting documentation states:
![grafik](https://user-images.githubusercontent.com/8405059/141686196-728f181b-497f-41d2-b90c-1c4bd5a12822.png)

But the "metadata" key is not present in this dictionary.
To access the colliders metadate you have to call collider.GetMeta() (C#)

This is what the dictionary looks like in VS debugger:
![grafik](https://user-images.githubusercontent.com/8405059/141686382-0620e02c-e7e3-48d6-b3ab-41ad2787606c.png)

**URL to the documentation page:**
https://docs.godotengine.org/en/3.4/tutorials/physics/ray-casting.html

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.