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:
@@ -183,8 +183,9 @@ PyMethodDef SCA_PythonController::Methods[] = {
|
||||
{"getSensors", (PyCFunction) SCA_PythonController::sPyGetSensors,
|
||||
METH_VARARGS, SCA_PythonController::GetSensors_doc},
|
||||
{"getSensor", (PyCFunction) SCA_PythonController::sPyGetSensor,
|
||||
METH_VARARGS, SCA_PythonController::GetSensor_doc}
|
||||
,
|
||||
METH_VARARGS, SCA_PythonController::GetSensor_doc},
|
||||
{"getScript", (PyCFunction) SCA_PythonController::sPyGetScript, METH_VARARGS},
|
||||
{"setScript", (PyCFunction) SCA_PythonController::sPySetScript, METH_VARARGS},
|
||||
{NULL,NULL} //Sentinel
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user