I am trying to add a walking man pod file into my cocos3d app. I got a blender file for walking man with walk animation from this link for free -> http://www.blendswap.com/blends/view/66412 and converted this file to pod and using in the project. when i converted thru PVRGeoPODGUI, i enabled "Export animations" option also. When i converted to .dae thru blender, i enabled 'Apply Modifiers(View)', Include UV Textures, Include Material textures, Copy, Armate options->Export for second life, Collada Options->Use Object instances" options.
I added the code to access this pod file like below.
CC3ResourceNode* runner = [CC3PODResourceNode nodeWithName: @"SimpleMan"];
runner.resource.expectsVerticallyFlippedTextures = NO;
[runner loadFromFile: @"AMan.pod"];
runner.location = cc3v(0.0, -10.0, 40.0);
[self addChild: runner];
But, i am getting a crash "glDrawElements EXC_BAD_ACCESS" after adding this code in my app. Crash is happening during launch of the scene.
[I didn't had such issues with any other pod's which i am already using which are NOT having any such kind of animation]
Could someone please help me to understanding this crash error and how would i solve it?