From 41fcb9f3915db02c9255dc62f03d6b4a55e5b6d3 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 9 Nov 2013 00:29:58 +0000 Subject: Nudge ships on launch and cargopods on creation to prevent them from spawning inside other objects. --- src/core/entity.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/core/entity.h') diff --git a/src/core/entity.h b/src/core/entity.h index adeac0f..a1de121 100644 --- a/src/core/entity.h +++ b/src/core/entity.h @@ -673,6 +673,11 @@ public: */ virtual void reset(); + /** + * @brief nudge the entity out of the radius of other entities in its current zune + */ + void nudge(); + /** * @brief physics collision callback * This funcion is called by the physics engine if the entity collides with another entity. -- cgit v1.2.3