diff options
Diffstat (limited to 'source/gameengine/Ketsji/KX_MouseFocusSensor.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_MouseFocusSensor.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_MouseFocusSensor.h b/source/gameengine/Ketsji/KX_MouseFocusSensor.h index d92cebfb4e1..ff69c570d53 100644 --- a/source/gameengine/Ketsji/KX_MouseFocusSensor.h +++ b/source/gameengine/Ketsji/KX_MouseFocusSensor.h @@ -88,6 +88,11 @@ class KX_MouseFocusSensor : public SCA_MouseSensor KX_PYMETHOD_DOC(KX_MouseFocusSensor,GetRayTarget); KX_PYMETHOD_DOC(KX_MouseFocusSensor,GetRaySource); + + KX_PYMETHOD_DOC(KX_MouseFocusSensor,GetHitObject); + KX_PYMETHOD_DOC(KX_MouseFocusSensor,GetHitPosition); + KX_PYMETHOD_DOC(KX_MouseFocusSensor,GetHitNormal); + KX_PYMETHOD_DOC(KX_MouseFocusSensor,GetRayDirection); /* --------------------------------------------------------------------- */ @@ -133,6 +138,9 @@ class KX_MouseFocusSensor : public SCA_MouseSensor * the object was hit. */ MT_Vector3 m_hitNormal; + class SCA_IObject* m_hitObject; + + /** * Ref to the engine, for retrieving a reference to the current * scene. */ |