Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Limb Position commands fail when applying a manual rotation...

Author
Message
Mage
Valued Member
19
Years of Service
User Offline
Joined: 3rd Feb 2007
Location:
Posted: 8th Nov 2012 01:41
Limb Commands:
Limb Position X(), Limb Position Y(), Limb Position Z()

Will fail if they are used after a Rotate Limb but before Sync. They will return data for limb 0 instead of the proper limb. If used after Sync but before rotations, they work as expected but values will lag behind by 1 on-screen frame.

This must be something to do with the built-in animation system, probably updating animation data only inside of the Sync command. I also suspect that Glued Objects only update their positions during Sync but I haven't tested for certain.

I've been using a first person style camera, positioned to the neck of my characters body. I recently began to deform the body to aim up and down using the built-in limb commands, and at the same time Enhanced Animation for the animations. I guess I'll work around this by not rotating the head when in FPS camera mode.

Login to post a reply

Server time is: 2026-07-09 13:31:04
Your offset time is: 2026-07-09 13:31:04