Python fixes:
Reenabled the setScript/getScript methods for python controller bricks. Set the ray source point to MouseFocusSensor.getRaySource works. Added: Python -> MT_Quaternion MT_Matrix4x4, MT_Matrix3x3, MT_Vector3, MT_Point3 -> Python Correct transform of frustum bound sphere centre point to world coordinates
This commit is contained in:
@@ -229,6 +229,7 @@ bool KX_MouseFocusSensor::ParentObjectHasFocus(void)
|
||||
topoint[1]/topoint[3],
|
||||
topoint[2]/topoint[3]);
|
||||
m_prevTargetPoint = topoint3;
|
||||
m_prevSourcePoint = frompoint3;
|
||||
|
||||
/* 2. Get the object from SuMO*/
|
||||
/* Shoot! Beware that the first argument here is an
|
||||
|
||||
Reference in New Issue
Block a user