Posted By: mschoenhals
Player rockets out of game area - 09/10/15 21:55
Hey all,
I'm having an issue where if the player presses up against a wall or model, the player shoots skyward and out of the game play area. I'm using a modified version of the AUM PRG code. I think this may be the issue - the USE_BOX flag. Any ideas on what I should try?
I'm having an issue where if the player presses up against a wall or model, the player shoots skyward and out of the game play area. I'm using a modified version of the AUM PRG code. I think this may be the issue - the USE_BOX flag. Any ideas on what I should try?
Code:
my.z -= c_trace(my.x, temp.x, IGNORE_ME | IGNORE_PASSABLE | USE_BOX) - my.dist_to_ground; // place player's feet on the ground - play with 30