www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: tuanphong on December 09, 2010, 04:20:51 am

Title: animate md2 serialized object
Post by: tuanphong on December 09, 2010, 04:20:51 am
I have a md2 serialized object.
as I read from the documentation, I call function animate(0)
I write this code in onDrawFrame event but it don't animate

Please help me.
Title: Re: animate md2 serialized object
Post by: EgonOlsen on December 09, 2010, 07:07:19 am
You have to increase the value up to 1 and start to loop at 0 again once you've reached 1. With animate 0, you'll always render the same frame.
Title: Re: animate md2 serialized object
Post by: tuanphong on December 12, 2010, 10:48:50 am
I have solved this problem
Thanks for your help. :)