About Store Forum Documentation Contact
Donations:
327$/mo



Post Reply 
Shooting
Author Message
DreamsInHD Offline
Member

Post: #1
Shooting
Hi,

I'm currently trying to make an fps (sort of).
I have a small problem with the shooting grin.
I'm trying to shoot barrels, but it's not working, I also tried it with just Vec's.
I don't think that pasting my code here would be any good since it's probably completely wrong. if it's not too much to ask, could someone make a very small example showing the basics of shooting projectiles in first person? Or just explaining how to do it would help me too.

Thanks in advance.
03-21-2016 02:12 PM
Find all posts by this user Quote this message in a reply
Zervox Offline
Silver Supporter

Post: #2
RE: Shooting
Try looking at the code from Bloody massacre for basic shooting(free source in the EE store).
or you could derive something from the physics tutorials
06 - Ray testing,
07 - Collision detection,
08 - Sweeping.
or you can try the tutorial under Game Basics (17 -Small Overlays)
03-21-2016 03:18 PM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #3
RE: Shooting
yeah for free, bloody massacre is a bloody good exemple smile
03-21-2016 03:23 PM
Find all posts by this user Quote this message in a reply
DreamsInHD Offline
Member

Post: #4
RE: Shooting
Okay, thanks a lot!
03-21-2016 03:29 PM
Find all posts by this user Quote this message in a reply
Post Reply