Blender Git Statistics -> Developers -> mateosss
Mateo de Mayo (mateosss)
Total Commits : 1
Master Commits : 1
Branch Commits : 0
First Commit : August 3, 2015
Latest Commit : August 3, 2015
Commits by Month
Date | Number of Commits | |
---|---|---|
August, 2015 | 1 |
Favourite Files
Filename | Total Edits |
---|---|
bge.types.KX_GameObject.rst | 1 |
KX_GameObject.cpp | 1 |
KX_GameObject.h | 1 |
BL_Action.cpp | 1 |
BL_Action.h | 1 |
BL_ActionManager.cpp | 1 |
BL_ActionManager.h | 1 |
File Changes
Action | Total | Per Commit |
---|---|---|
Modified | 7 | 7.0 |
Code Changes
Action | Total | Per Commit |
---|---|---|
Lines Added | 65 | 65.0 |
Lines Removed | 4 | 4.0 |
Latest commits
August 3, 2015, 22:10 (GMT) |
BGE: Added getActionName() function to KX_GameObject() It works similar to getActionFrame(), you have to give a layer or not (for layer 0) as the argument and it returns the name of the animation that the object is currently playing. Example: ``` import bge own = bge.logic.getCurrentController().owner own.playAction("SomeAction",0,20) print(own.getActionName()) ``` >> SomeAction Here is an example file, just open the blend file with the terminal opened and press P, you can see how the current animation is being printed: {F217484} Reviewers: moguri, hg1, panzergame, campbellbarton Reviewed By: panzergame Subscribers: campbellbarton, hg1, #game_engine Projects: #game_engine Differential Revision: https://developer.blender.org/D1443 |
MiikaHweb - Blender Git Statistics v1.06