Laser Gun Sight

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
iam13013
Posts: 31
Joined: Sun Dec 04, 2005 11:06 pm

Laser Gun Sight

Post by iam13013 »

I'm trying to simulate a laser gun sight for my FPS. I tried using the method from the "Collision" example included with Irrlicht, but it sometimes sticks and it shakes alot. I was wondering if it was possible to do the same thing, just make it stay exactly in the center of the screen. I also need it to vary in size as the distance changes. Thanks in advance.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

i think a transparrent one of these would be cool for a laser sight
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=9851
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
JPulham
Posts: 320
Joined: Sat Nov 19, 2005 12:06 pm

Post by JPulham »

for a dot...just have a billbord and a ray...use getCollisionFromRay() or what ever on you triangle sectors and then find the closest...that is then the point to put your billbord :P
pushpork
Post Reply