I’m working on a 2D Contra-style-platformer using ASW as my base. So far I’ve changed the perspective and other little details, but the major issue is getting the marine to look/shoot up and down instead of side to side. I’m not entirely sure how I should go about changing this. Are the mouse movements transformed into world space and then applied to the marine eye angles? or is something else going on?
The code I’m looking at is in the TurnTowardsMouse and ComputeNewMarineFacing functions. I also found that the pitch aspect of the marine’s angles isn’t being used at all and is stored in the roll aspect for some reason. Has anyone else run into the same problems or know how to fix this? _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders