blender/source/gameengine/Converter
Porteries Tristan 3d55859924 BGE: Support for collision group/mask from the api + activated on EndObject.
A Python API for the collision group / mask has been added:
```
KX_GameObject.collisionGroup
KX_GameObject.collisionMask
```
The maximum number of collision groups and masked has been increased from eight to sixteen.
This means that the max value of collisionGroup/Mask is (2 ** 16) - 1

EndObject will now activate objects that were sleeping and colliding with the removed object.
This means that, unlike now, if a rigid body starts sleeping on top of another object, when the latter is removed the rigid body will activate and fall, rather than float midair as before.

Collision groups that do not intersect used to collide on the first frame. Now this has been fixed so that they collide appropriately.

Thanks to agoose77 for his help.

Reviewers: scorpion81, hg1, agoose77, sergof

Reviewed By: agoose77, sergof

Subscribers: sergof, moguri

Projects: #game_physics, #game_engine

Differential Revision: https://developer.blender.org/D1243
2015-04-19 01:04:22 +02:00
..
BL_ActionActuator.cpp Fix ping-pong actions when using the Action Actuator. 2014-12-11 00:05:11 -08:00
BL_ActionActuator.h BGE: Multi-threading animation updates and skinning. 2014-04-06 16:30:59 -07:00
BL_ArmatureActuator.cpp BGE: Multi-threading animation updates and skinning. 2014-04-06 16:30:59 -07:00
BL_ArmatureActuator.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BL_ArmatureChannel.cpp mathutils: refactor instantiation 2015-01-04 17:43:57 +11:00
BL_ArmatureChannel.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
BL_ArmatureConstraint.cpp fix #T37892 BL_ArmatureConstraint.active returns wrong value 2014-01-14 13:22:41 -02:00
BL_ArmatureConstraint.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
BL_ArmatureObject.cpp Fix compilation of game engine in ubuntu 2015-03-30 13:06:54 +02:00
BL_ArmatureObject.h BGE: Multi-threading animation updates and skinning. 2014-04-06 16:30:59 -07:00
BL_BlenderDataConversion.cpp BGE: Support for collision group/mask from the api + activated on EndObject. 2015-04-19 01:04:22 +02:00
BL_BlenderDataConversion.h BGE Rasterizer Cleanup: Removing RAS_IRenderTools and moving the functionality to RAS_IRasterizer. RAS_OpenGLRasterizer is a bit of a mess now with references to Ketsji and other modules it shouldn't be accessing. 2013-11-04 19:21:07 +00:00
BL_DeformableGameObject.cpp style cleanup 2013-03-18 11:44:56 +00:00
BL_DeformableGameObject.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BL_MeshDeformer.cpp style cleanup 2012-10-22 08:15:51 +00:00
BL_MeshDeformer.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BL_ModifierDeformer.cpp Make sure materials are updated before passing to renderer in game 2014-12-03 18:12:31 +01:00
BL_ModifierDeformer.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BL_ShapeActionActuator.cpp code cleanup: 2013-03-25 02:41:30 +00:00
BL_ShapeActionActuator.h Cleanup 2014-08-17 12:18:40 +10:00
BL_ShapeDeformer.cpp Fix T40113: Skinned meshes with non-animated shape keys crashes the BGE. 2014-05-09 16:05:23 -07:00
BL_ShapeDeformer.h BGE: Multi-threading animation updates and skinning. 2014-04-06 16:30:59 -07:00
BL_SkinDeformer.cpp Cleanup: use BLI_listbase_count_ex to avoid redundant looping 2014-11-16 14:23:37 +01:00
BL_SkinDeformer.h BGE: Fixing shape key animations on meshes with no armature. 2014-05-09 16:03:54 -07:00
CMakeLists.txt BGE: Remove BlenderWorldInfo 2015-03-24 00:19:15 +01:00
KX_BlenderScalarInterpolator.cpp code cleanup: remove redundant casts 2012-10-14 08:49:01 +00:00
KX_BlenderScalarInterpolator.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_BlenderSceneConverter.cpp Missed in recent cleanup 2015-04-04 18:58:49 +11:00
KX_BlenderSceneConverter.h BGE Rasterizer Cleanup: Removing RAS_IRenderTools and moving the functionality to RAS_IRasterizer. RAS_OpenGLRasterizer is a bit of a mess now with references to Ketsji and other modules it shouldn't be accessing. 2013-11-04 19:21:07 +00:00
KX_ConvertActuators.cpp BGE: Fix T41502 Path following jumping 2015-02-18 23:24:02 +01:00
KX_ConvertActuators.h BGE: Removing an unused rendertools argument from BL_ConvertActuators(). 2013-09-05 04:19:05 +00:00
KX_ConvertControllers.cpp BGE: Fixing memory leaks when deactivating Sensors, Controllers, or actuators. 2014-04-19 14:51:29 -07:00
KX_ConvertControllers.h Fix T39445: Async LibLoad Crash 2014-04-16 01:15:40 -07:00
KX_ConvertProperties.cpp BGE: Committing patch #32422 "Debug properties for added objects" by HG1. 2013-07-09 20:06:36 +00:00
KX_ConvertProperties.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_ConvertSensors.cpp BGE: Fix for T44374 Crash when collision sensor deactivated 2015-04-17 02:12:57 +02:00
KX_ConvertSensors.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_LibLoadStatus.cpp Fix for building without python. 2013-02-22 15:54:10 +00:00
KX_LibLoadStatus.h BGE: Committing async LibLoad from Swiss. This does the lib loading in a separate thread to keep the BGE from freezing. Here is an example from the docs: 2012-12-22 05:38:32 +00:00
KX_SoftBodyDeformer.cpp BGE Cleanup: Moving reinstancing physics shapes from KX_ConvertPhysicsObject to PHY_IPhysicsController 2014-04-23 19:39:57 -07:00
KX_SoftBodyDeformer.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
SConscript split bge includes for scons onto their own lines (for easier merging) 2013-05-29 21:56:55 +00:00