* Problem Update *
I finally got a Zombie to use in my game, i have trouble with the animations ofcourse but im working on it.
The real problem lies within the fysiks of the zombies they don't collide to buildings or the ground, they wont be affected by gravity, i think it has something to do with the "Collisions"-command.
This is how i've "solved" it:
The Player can't collide with Zombies but he is affected by gravity and collides with walls. You think you know what could be wrong?
Thanks!
I finally got a Zombie to use in my game, i have trouble with the animations ofcourse but im working on it.
The real problem lies within the fysiks of the zombies they don't collide to buildings or the ground, they wont be affected by gravity, i think it has something to do with the "Collisions"-command.
This is how i've "solved" it:
;_____/Collision\___, Col_Bana = 1 ;| Col_Player = 2 ;| Col_Camera = 2 ;| Col_Zombie = 2 ;| Col_AmmoBox = 3 ;| Col_HealthBox = 3 ;| ;-------------------' Type Zombies Field ID Field X# Field Y# Field Z# Field Riktning#;<<------- Wich direction it's looking Field Life#;<<----------- Zombie Life Field MovingTimer#;<<---- Zombie Speed Field Ent Field Tex;<<------------- The Texture Field Direction End Type ;_____/Collisions\________________________, Collisions Col_Player,Col_Bana,2,2 ;| Collisions Col_Player,Col_Zombie,2,2 ;| Collisions Col_Zombie,Col_Bana,2,2 ;| Collisions Col_AmmoBox,Col_Bana,2,2 ;| Collisions Col_HealthBox,Col_Bana,2,2 ;| ;-----------------------------------------'
The Player can't collide with Zombies but he is affected by gravity and collides with walls. You think you know what could be wrong?
Thanks!