Blender Git Commit Log
Git Commits -> Revision 1bf87fa
Revision 1bf87fa by Jorge Bernal (master) July 15, 2014, 01:30 (GMT) |
BGE: TrackTo actuator: increasing up & track axis options This is related to Task T34861 to increase up & track axis options for TrackTo actuator. I've just added it to differential to facilitate an easier review. With the patch applied you can select X, Y and Z axis for the Up axis, and X, Y, Z, -X, -Y and -Z for the track axis. Related to the implementation I have used the algorithm from Trackto constrain placed in constrain.c but adapted to be used with MOTO library. The wiki docs are here (http://wiki.blender.org/index.php/User:Lordloki/Doc:2.6/Manual/Game_Engine/Logic/Actuators/Edit_Object#Trackto_Actuator). Test file is here: {F97623} I have also uploaded 2 screenshots showing the UI modifications to the TrackTo actuator: {F91992} {F91990} Reviewers: moguri, dfelinto Reviewed By: moguri CC: Genome36 Differential Revision: https://developer.blender.org/D565 |
Commit Details:
Full Hash: 1bf87fa26c6763ef282ec39b07b678723a7f389b
Parent Commit: 50d3014
Committed By: Mitchell Stokes
Lines Changed: +249, -149
16 Modified Paths:
/doc/python_api/rst/bge.logic.rst (+17, -0) (Diff)
/doc/python_api/rst/bge_types/bge.types.KX_TrackToActuator.rst (+22, -0) (Diff)
/intern/moto/include/MT_Matrix3x3.h (+7, -0) (Diff)
/intern/moto/include/MT_Vector3.h (+1, -1) (Diff)
/intern/moto/include/MT_Vector3.inl (+7, -0) (Diff)
/release/scripts/startup/bl_ui/properties_object.py (+5, -4) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/sca.c (+4, -0) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+24, -0) (Diff)
/source/blender/editors/space_logic/logic_window.c (+6, -0) (Diff)
/source/blender/makesdna/DNA_actuator_types.h (+15, -0) (Diff)
/source/blender/makesrna/intern/rna_actuator.c (+29, -0) (Diff)
/source/gameengine/Converter/KX_ConvertActuators.cpp (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_PythonInit.cpp (+12, -0) (Diff)
/source/gameengine/Ketsji/KX_TrackToActuator.cpp (+82, -141) (Diff)
/source/gameengine/Ketsji/KX_TrackToActuator.h (+15, -0) (Diff)
/doc/python_api/rst/bge_types/bge.types.KX_TrackToActuator.rst (+22, -0) (Diff)
/intern/moto/include/MT_Matrix3x3.h (+7, -0) (Diff)
/intern/moto/include/MT_Vector3.h (+1, -1) (Diff)
/intern/moto/include/MT_Vector3.inl (+7, -0) (Diff)
/release/scripts/startup/bl_ui/properties_object.py (+5, -4) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/sca.c (+4, -0) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+24, -0) (Diff)
/source/blender/editors/space_logic/logic_window.c (+6, -0) (Diff)
/source/blender/makesdna/DNA_actuator_types.h (+15, -0) (Diff)
/source/blender/makesrna/intern/rna_actuator.c (+29, -0) (Diff)
/source/gameengine/Converter/KX_ConvertActuators.cpp (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_PythonInit.cpp (+12, -0) (Diff)
/source/gameengine/Ketsji/KX_TrackToActuator.cpp (+82, -141) (Diff)
/source/gameengine/Ketsji/KX_TrackToActuator.h (+15, -0) (Diff)