summaryrefslogtreecommitdiff
path: root/scene/2d/navigation_2d.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-06-24 21:30:46 +0200
committerRémi Verschelde <rverschelde@gmail.com>2019-06-24 21:40:31 +0200
commitf34c8015cb283737764af480a1689edd9e8b6776 (patch)
tree9ada53c73c15a2a925f413ad916c6ec009d9e9ef /scene/2d/navigation_2d.cpp
parentab932bb675f7966b94c46da76ca822ebbf24ddd2 (diff)
Area2D: Fix argument type of body_* signals
Those signals receive either a PhysicsBody2D or a TileMap object, and what the emitting method checks internally is only that the object is a Node. In theory any Node could go through these signals if they talk directly to the PhysicsServer2D. Also updated docs. Fixes #27076. Might need further (compat breaking) improvement as this API is a bit confusing, cf. #24739.
Diffstat (limited to 'scene/2d/navigation_2d.cpp')
0 files changed, 0 insertions, 0 deletions