DreamsInHD
Member
|
Shooting
Hi,
I'm currently trying to make an fps (sort of).
I have a small problem with the shooting .
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 |
|
Zervox
Member
|
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 |
|
RedcrowProd
Member
|
RE: Shooting
yeah for free, bloody massacre is a bloody good exemple
|
|
03-21-2016 03:23 PM |
|
DreamsInHD
Member
|
RE: Shooting
Okay, thanks a lot!
|
|
03-21-2016 03:29 PM |
|