Blender Git Commit Log

Git Commits -> Revision 7d99a4d

Revision 7d99a4d by Jorge Bernal (master)
June 25, 2014, 22:47 (GMT)
BGE: New Mouse Actuator

Disclaimer: The author of this patch is Geoffrey Gollmer (gomer). I only updated the patch to the current git master status, reworked several parts to fit well with current coding style and applied several fixes.

This actuator allows users to show/hide the mouse cursor using logic bricks, as well as control object rotation with a mouse in the BGE.
The mouse rotation is flexible enough to allow any type of mouse look, as well as banking for flight controls.

{F94520}

{F91859}

Blend file for testing Mouse actuator (with default parameters and crosshair): {F94920}

Reviewers: moguri

Reviewed By: moguri

CC: gomer, lordodin

Differential Revision: https://developer.blender.org/D559

Commit Details:

Full Hash: 7d99a4ded9d3d24c24ea2d5bcc488469cf60fa4a
Parent Commit: 11d1fea
Committed By: Mitchell Stokes
Lines Changed: +1069, -0

3 Added Paths:

/doc/python_api/rst/bge_types/bge.types.KX_MouseActuator.rst (+103, -0) (View)
/source/gameengine/Ketsji/KX_MouseActuator.cpp (+525, -0) (View)
/source/gameengine/Ketsji/KX_MouseActuator.h (+127, -0) (View)

12 Modified Paths:

/doc/python_api/rst/bge.logic.rst (+11, -0) (Diff)
/source/blender/blenkernel/intern/sca.c (+10, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+3, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+3, -0) (Diff)
/source/blender/editors/space_logic/logic_window.c (+68, -0) (Diff)
/source/blender/makesdna/DNA_actuator_types.h (+31, -0) (Diff)
/source/blender/makesrna/intern/rna_actuator.c (+131, -0) (Diff)
/source/gameengine/Converter/KX_ConvertActuators.cpp (+45, -0) (Diff)
/source/gameengine/GameLogic/SCA_IActuator.h (+1, -0) (Diff)
/source/gameengine/Ketsji/CMakeLists.txt (+2, -0) (Diff)
/source/gameengine/Ketsji/KX_PythonInit.cpp (+7, -0) (Diff)
/source/gameengine/Ketsji/KX_PythonInitTypes.cpp (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021