문제

I created one 3D object using Blender 2.66 and PowerVR Graphics SDK. I added the pod file and altered the hello-world project simply by replacing pod file name and node name.But the 3D object is not rotating. Is there any other changes tat i have to do in code? Is there any chance of error in pod file creation ? Thanks .

도움이 되었습니까?

해결책

when you create a project in cocos3d the default pod file syntax is [self addContentFromPODFile:@"hello-world.pod"]; you replace it with where u use any node name

withName:@"HelloText"

[self addContentFromPODFile:@"hello-world.pod" withName:@"abc"];

And where you fild cc3meshnode replace getnodenamed with you set above

CC3MeshNode* hellotext = (CC3MeshNode*)[self getNodeNamed:@"abc"];

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top