Possible Bug, Boolean not bein set instantly

Looking to build a team or have a job to offer?

Post » Thu Apr 25, 2013 9:12 am

Hi guys, been stalking for a little while, recently bought the engine and LOVE every bit of it

but I've encountered a bit of an issue
basically my project requires the player to be in one of several states
Default (running around with platform controller)
Ladder (climbing a ladder and jumping off it into default state)
Death (plays death animation then waits before running respawn state)
Respawn (after the player dies, reset position, reset states and take away life)

now, the issue I seem to have is between death state and respawn
first issue is that the animation loops despite it not looping (I suspect that has to do with other issues)
the major problem is that upon respawn, despite it setting the respawn state to false, resets position for a period of time making the character jitter in place

I'm using BOOL variables as flags to indicate what 'state' the player should be in and it appears it takes time for a bool state to change

and this is an issue I don't know how to fix
Thanks for your time and i hope you can help or explain a better method or why its doing this, I fear it maybe an issue with 'ticks' but the difference shouldn't be this obvious

B
1
Posts: 3
Reputation: 131

Post » Thu Apr 25, 2013 12:16 pm

Don't post here ! Post in the How Do I section !
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589


Return to Job Offers and Team Requests

Who is online

Users browsing this forum: Google Feedfetcher and 2 guests