I am having trouble getting the Record Animation setting to work in the BGE. Is it possible to record animated characters that are controlled using BGE's logic bricks with some script? In my script I change the positions of the characters bones.
This is an older question, but according to this it now does record logic bricks:
This is not intented as an answer, but it's too elaborate for a comment.
I had the same situation. I wanted a couple of objects to 'tumble' keeping their original location. This would have been really easy to accomplish using logic bricks and the game engine. Instead, I choose to write a very simple Python script. I just post here in case some one else finds it useful.
(That being said, this can ofcourse also be accomplished using keyframe animation. I found Python to be more effective)
import bpy, math, random scene = bpy.context.scene for actFrame in range(1,250): bpy.context.scene.frame_set(actFrame) i=0 for ob in scene.objects: if "dark" in ob.name: # or any other condition that suits your needs i=i+1 rotx = actFrame / 30 rotx = rotx*(1+i/6) rotz = actFrame/180 rotz = rotz*(2.5-i) ob.rotation_euler = (rotx, 0, rotz) ob.keyframe_insert(data_path="rotation_euler", index=-1)