Hello,
You need to attach the mesh to the camera entity using the camera as the parent:
using code archive:
http://www.blitzbasic.com/codearcs/codearcs.php?code=524
PlayerCam = CreateCamera()
gun_mesh = LoadB3D("gun.b3d", PlayerCam)
;then position the gun just in front of the camera:
positionentity gun_mesh 2, -2, 4
Hope this helps. . .
You need to attach the mesh to the camera entity using the camera as the parent:
using code archive:
http://www.blitzbasic.com/codearcs/codearcs.php?code=524
PlayerCam = CreateCamera()
gun_mesh = LoadB3D("gun.b3d", PlayerCam)
;then position the gun just in front of the camera:
positionentity gun_mesh 2, -2, 4
Hope this helps. . .