24.05.2015, 21:02
Hello, I had been doing a system in which you basically get into any vehicle and press FIRE and 2 rockets launch straight forward (I'm using GetXYInFrontOfPlayer). If I'm standing normally on the ground rockets move (MoveObject) towards xy in front of my vehicle but if I'm standing like this rockets are not moving into the air. I can tell that the problem is in Z coordinate. See how my rocket is rotated here picture. It's facing xy but it's facing wrong Z, what should I use to get that Z in front of me?