15 scene::ISceneManager*
smgr;
34 Ball(IrrlichtDevice* device, scene::ISceneManager* smgr, video::IVideoDriver* driver,
Physics* physics, core::vector3df position);
39 void setCamera(scene::ICameraSceneNode* camera, core::vector3df rotation = core::vector3df(0,0,0));
Ball represent the projectile of the cannon.
Definition: ball.h:12
IrrlichtDevice * device
Irrlicht device.
Definition: ball.h:27
scene::ICameraSceneNode * parentCamera
Parent camera of the ball, in particular is the cannon camera.
Definition: ball.h:32
scene::ISceneManager * smgr
Definition: ball.h:15
const f32 CAMERA_OFFSET_BALL
Definition: ball.h:10
Camera * camera
Camera of related to the ball.
Definition: ball.h:25
Physics class will handle all things related to collisions, creating Bullet physics objects and the p...
Definition: physics.h:12
scene::ISceneNode * irrBall
Irrlicht instance of the projectile.
Definition: ball.h:19
core::array< core::vector3df > points
Points of the ball while moving in air.
Definition: ball.h:37
btRigidBody * btBall
Bullet btRigitBody instance of the projectile.
Definition: ball.h:17
core::vector3df cameraStartPosition
Start position of the camera.
Definition: ball.h:23
Camera based on ICameraSceneNode of Irrlicht.
Definition: camera.h:6