uhm...
I asked for the mathematical solution for my problem, and not for the irrlicht funtion name .
nvm Ill check out the source of getRayFromScreenCoordinates...
Search found 3 matches
- Fri Jun 04, 2010 1:54 pm
- Forum: Game Programming
- Topic: picking - sending ray from camera, depending on mouse coords
- Replies: 3
- Views: 3261
- Fri Jun 04, 2010 5:58 am
- Forum: Game Programming
- Topic: picking - sending ray from camera, depending on mouse coords
- Replies: 3
- Views: 3261
picking - sending ray from camera, depending on mouse coords
Hi..
I am working on first person shooter game engine, i need to create ray from camera. I know only camera's angle, origin, and the screen coordinates of mouse cursor. Do anyone know how can I calculate the ray direction?
thanks in advance[/u]
I am working on first person shooter game engine, i need to create ray from camera. I know only camera's angle, origin, and the screen coordinates of mouse cursor. Do anyone know how can I calculate the ray direction?
thanks in advance[/u]
- Sun May 30, 2010 10:15 am
- Forum: Project Announcements
- Topic: IrrODE - an Irrlicht - ODE wrapper (now with SVN)
- Replies: 561
- Views: 150030
wtf
Hi, I have a little question about "void CIrrOdeGeomTrimesh::initPhysics()" function from CIrrOdeGeomTrimesh.cpp if (m_fMass) { m_pOdeDevice->massSetZero(m_iMass); vector3df vSize=pNode->getBoundingBox().getExtent(); //dMassSetTrimeshTotal(&m_cMass,m_fMass,m_iGeomId); //dMassTranslate(...