Blender Git Commit Log

Git Commits -> Revision 6365678

Revision 6365678 by Mitchell Stokes (master)
September 14, 2013, 02:02 (GMT)
BGE: Adding a Python collision API. The initial patch was provided by agoose77, with some edits by me.

KX_GameObject now has a collisionCallbacks list which is a list of callables that are called when a collision occurs. The callables will be called with an argument that contains a reference to the other object involved in the collision (i.e., not self).

Commit Details:

Full Hash: 63656781098e1443cd3f89fa435688727076eb33
SVN Revision: 60132
Parent Commit: 9f87d99
Lines Changed: +196, -33

4 Modified Paths:

/doc/python_api/rst/bge_types/bge.types.KX_GameObject.rst (+6, -0) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+134, -8) (Diff)
/source/gameengine/Ketsji/KX_GameObject.h (+11, -5) (Diff)
/source/gameengine/Ketsji/KX_TouchEventManager.cpp (+45, -20) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021