Problem with Physical Response and Animation
Posted: Thu Jul 12, 2007 2:12 pm
Was hoping somebody here might be able to help, as I'm a new user of GE and still in the 'learning the environment' mode. I'm hoping to use GE to build a simple Dungeon Crawl type of game for the GP2x. After learning how to create an Actor and add an animation to it, one of my next tasks was to keep the actor from passing through barriers such as walls. For the most part I've been successful using WireFrames.
I'm having a problem with with my 'PlayerChar' after the actor collides with a 'SolidWall' actor. Essentially, when moving the 'PlayerChar' east, north, or south the physical response behavior is as expected. Even when PlayerChar runs into 'SolidWall' while facing west, 'PlayerChar' stops and does not pass through the wall. But once I change direction to either north or south, 'PlayerChar' appears to hop over 'SolidWall'. This doesn't happen when changing directions to the East.
After a couple hours messing with this, I removed PlayerChar from the game and replaced it with a Ball with a static animation. When running this version of the ged, the physical response behaved as expected. This leads me to believe there is a problem with the animation I used for PlayerChar. Has anyone encountered this behavior before? If so, are there certain rules about animations that I'm missing?
I'm attaching a zipped file with both the PLayerChar and ball versions of the ged (& data files). Perhaps some one can look at my PlayerChar animation and find a problem with it.
Thanks,
Skyryder37
"Meddle not in the affairs of dragons for you are crunchy and taste good with ketchup."
I'm having a problem with with my 'PlayerChar' after the actor collides with a 'SolidWall' actor. Essentially, when moving the 'PlayerChar' east, north, or south the physical response behavior is as expected. Even when PlayerChar runs into 'SolidWall' while facing west, 'PlayerChar' stops and does not pass through the wall. But once I change direction to either north or south, 'PlayerChar' appears to hop over 'SolidWall'. This doesn't happen when changing directions to the East.
After a couple hours messing with this, I removed PlayerChar from the game and replaced it with a Ball with a static animation. When running this version of the ged, the physical response behaved as expected. This leads me to believe there is a problem with the animation I used for PlayerChar. Has anyone encountered this behavior before? If so, are there certain rules about animations that I'm missing?
I'm attaching a zipped file with both the PLayerChar and ball versions of the ged (& data files). Perhaps some one can look at my PlayerChar animation and find a problem with it.
Thanks,
Skyryder37
"Meddle not in the affairs of dragons for you are crunchy and taste good with ketchup."