godotengine / godotengine/godot-docs

CollisionObject and inputEvents description

Open
#1,464 3 comments 0 reactions 0 assignees View on GitHub
area:manual discussion enhancement
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

At http://docs.godotengine.org/en/latest/tutorials/inputs/inputevent.html#how-does-it-work , point 4,
says

> If no one wanted the event so far, and a Camera is assigned to the Viewport, a ray to the physics world (in the ray direction from the click) will be cast. If this ray hits an object, it will call the CollisionObject._input_event() function in the relevant physics object (bodies receive this callback by default, but areas do not. This can be configured through Area properties).

Is this wrong or I'm not understanding what it says?
If I got this right, it refers to the pickable property, which is enabled by default on areas but not on bodies, while the text says the opposite.

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.