Hello,
I have an FPS camera, who have a child, the gun scene.
So the gun position is relative to the camera position (with little offsets):
m_nodeGun->setScale(irr::core::vector3df(20.0f, 20.0f, 10.f));
m_nodeGun->setPosition(irr::core::vector3df(1.2f, -0.8f, 1.6f));
http://img15.hostingpics ...
Search found 1 match
- Fri May 06, 2016 11:09 am
- Forum: Beginners Help
- Topic: Draw a line 3d beginning at a mesh point.
- Replies: 3
- Views: 927