cassius Posted May 21, 2016 Share Posted May 21, 2016 I got my gun animations working after a long session but now I need to know how to fire bullets and check they have hit the target? Should I use bullets visibly moving or fake it in some way. The gun fires 6 single shots. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
Rick Posted May 22, 2016 Share Posted May 22, 2016 Personally I'd just use raycasting (Pick) at the time of firing to see if it collided with anything. Quote Link to comment Share on other sites More sharing options...
cassius Posted May 22, 2016 Author Share Posted May 22, 2016 That would be World pick I imagine? Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
Rick Posted May 22, 2016 Share Posted May 22, 2016 If it's a FPS then camera pick out the center of the screen. If it's like a top down then world pick from the gun outward. Quote Link to comment Share on other sites More sharing options...
cassius Posted May 22, 2016 Author Share Posted May 22, 2016 its fps. Thanks Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.