I was wondering how it would be possible to make a model of a gun move with the camera, ie. halflife.
A link to a tutorial or even you explaining would be greatly appreciated.
Thanking you in advance, hyp.
>=D
First Person Shooter View - Gun
-
- Posts: 4
- Joined: Wed Jun 21, 2006 6:48 am
First Person Shooter View - Gun
Last edited by hyp0th3sis on Sat Jun 24, 2006 6:37 pm, edited 1 time in total.
-
- Posts: 4
- Joined: Wed Jun 21, 2006 6:48 am
Oh sorry!
Alas, I have done so.
Here is a list of terms i tried, and failed with:
-fps view
-first person shooter gun view
-FPS AND view
-first person shooter AND view NOT fps
-fps AND gun AND view
-first person shooter AND halflife
And the closest i got was a thread that had no answer...
Sorry for not covering this in my first posting.
>=D
Here is a list of terms i tried, and failed with:
-fps view
-first person shooter gun view
-FPS AND view
-first person shooter AND view NOT fps
-fps AND gun AND view
-first person shooter AND halflife
And the closest i got was a thread that had no answer...
Sorry for not covering this in my first posting.
>=D
Last edited by hyp0th3sis on Sat Jun 24, 2006 6:36 pm, edited 1 time in total.
-
- Posts: 4
- Joined: Wed Jun 21, 2006 6:48 am
Thankyou, but i spoke to soon. I found the solution during the gap between mine and your post.
Thankyou anyway.
For the curious at heart.
The Solution:
>=D
Thankyou anyway.
For the curious at heart.
The Solution:
Code: Select all
IAnimatedMeshSceneNode* weapon = smgr->addAnimatedMeshSceneNode(weaponModel, camera, 0, core::vector3df(15, -20, 25), core::vector3df(95,3,180), core::vector3df(1.0f, 0.45f, 1.0f));