summaryrefslogtreecommitdiffstats
path: root/scene/3d/physics_body.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-11-13 00:53:12 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-11-13 00:53:12 -0300
commitabbea4d945bbb1114570c3b6c7f649e01ca8ebb8 (patch)
treed2b131b32705bbcf118efa72d5d9a21618c1227e /scene/3d/physics_body.h
parentd02953c5963ca080d26500ea8250e0632a80b234 (diff)
downloadredot-engine-abbea4d945bbb1114570c3b6c7f649e01ca8ebb8.tar.gz
UDP Fixes
-=-=-=-=- Curse the day I decided to port UDP code, as it ended up being two nights of work. At least It's done now (I hope). -Fixed UDP Support, API seems stable -Added UDP Chat demo (chat that can lose your packets, heh) -Added helpers to areas and bodies to get list of collided bodies and contained bodies. -Sped up screen/viewport capture code. -Added code to save an image as PNG -Small fix so scripts register their singletons after modules did.
Diffstat (limited to 'scene/3d/physics_body.h')
-rw-r--r--scene/3d/physics_body.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/physics_body.h b/scene/3d/physics_body.h
index f9f028e20d..0d1de7f236 100644
--- a/scene/3d/physics_body.h
+++ b/scene/3d/physics_body.h
@@ -236,6 +236,7 @@ public:
void set_axis_lock(AxisLock p_lock);
AxisLock get_axis_lock() const;
+ Array get_colliding_bodies() const;
void apply_impulse(const Vector3& p_pos, const Vector3& p_impulse);