Hi.
Can you help me ?
It is possible to Attach model to camera as in unreal tournament 2003 ?
when play will see the model are moving with the camera or in multiplayer will see the model moving.
If possible give me an example of code please.
Thanks
Attach model to camera
You should be able to, but it appears to be bugged at the moment:
http://irrlicht.sourceforge.net/phpBB2/ ... c.php?t=53
Though, for one person to see another player, simply attaching a model to the camera of the first player won't work.
On the other PC, the player that is viewing the first person is the camera on that machine. So, you'd want to attach the model to a node that you will update the position of via your network handling.
It would be something like this:
Player 1 pushes forward key.
Network API tells Player 2's machine about the move.
SceneNode of Player 1 on Player 2's machine is moved.
http://irrlicht.sourceforge.net/phpBB2/ ... c.php?t=53
Though, for one person to see another player, simply attaching a model to the camera of the first player won't work.
On the other PC, the player that is viewing the first person is the camera on that machine. So, you'd want to attach the model to a node that you will update the position of via your network handling.
It would be something like this:
Player 1 pushes forward key.
Network API tells Player 2's machine about the move.
SceneNode of Player 1 on Player 2's machine is moved.
Crud, how do I do this again?