3d-Shooter in PureBasic
Posted: Mon Oct 31, 2005 8:13 pm
Hi,
I´ve got some Expirience in PureBasci in 2D and Sprite Games, but in the newest Version there is the OGRE engine, so I wanted to code a 3d shooter.
But I´ve got some Problems with that. I have already the terrain, a skyBox and a robot moving around animated.
But I have no Idea how to Fire a Bullet in the Direction the Camera is facing! I can only let it fly in the X or the Z direction! Is there a Command to send the bullet into the direction where the camera is facing?
PS.: Maybve someone has already programmed a little 3d shooter, if someone still has the code of something like that, coul d you please send it to me?
I´ve got some Expirience in PureBasci in 2D and Sprite Games, but in the newest Version there is the OGRE engine, so I wanted to code a 3d shooter.
But I´ve got some Problems with that. I have already the terrain, a skyBox and a robot moving around animated.
But I have no Idea how to Fire a Bullet in the Direction the Camera is facing! I can only let it fly in the X or the Z direction! Is there a Command to send the bullet into the direction where the camera is facing?
PS.: Maybve someone has already programmed a little 3d shooter, if someone still has the code of something like that, coul d you please send it to me?