ShiVa3D
Ray casting - shooting a gun..
Windows DX9/OpenGL 2 Standalone AppsRay casting - shooting a gun..
by browncrow » 29 Oct 2010, 17:04
Hello Everybody...
I am working with a 3rd person shooting game as a windows application.I have a model of a player and a gun separately....I want to know two things....
1. How can i attach the gun in my player's hand by scripting ??..gun have 3 joint and player also have joints in his hand....
2. I have completed ray casting code with the gun model.....just check by drawing a line from gun front joint to the point where the ray casting hit. and checked the hit model name as well as transition and distance.
I want to know...what is the next step to show the gun shooting....gun fire particle show,sound and hit to the object with a texture mapping.
Please help me.....I am waiting for your reply.....Thanks in advance....
I am working with a 3rd person shooting game as a windows application.I have a model of a player and a gun separately....I want to know two things....
1. How can i attach the gun in my player's hand by scripting ??..gun have 3 joint and player also have joints in his hand....
2. I have completed ray casting code with the gun model.....just check by drawing a line from gun front joint to the point where the ray casting hit. and checked the hit model name as well as transition and distance.
I want to know...what is the next step to show the gun shooting....gun fire particle show,sound and hit to the object with a texture mapping.
Please help me.....I am waiting for your reply.....Thanks in advance....
- browncrow
- Fresh Boarder

- Posts: 4
- Location: united states
1 post
• Page 1 of 1