Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Peter Cunliffe

DAT CurrentFrame

This topic is 6173 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have keyframed DAT entities on a Terrain created in LS. How do I return the entity currentframe number and total number of keyframes? I have tried node->Info.CurrentFrame in the Spawn.Func but this always returns 0 for me. I can''t find an example which shows how to do it correctly. Thanks in advance for helping! Petrovski

Share this post


Link to post
Share on other sites
Advertisement
Search for CurrentFrame in ObjectManager.c from the high level engine code and you should see where it gets updated. You can debug that to see why it''s failing (either the animate flag is not set or the max frames is 0).

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!