Calculate the way of a bullet

Advanced game related topics
WolfgangS
Enthusiast
Enthusiast
Posts: 174
Joined: Fri Apr 25, 2003 3:30 pm

Calculate the way of a bullet

Post by WolfgangS »

I try to calculate the way of a bullet. I think i got the right formulas but it still doesn´t work properly ...

This is the whole packet:
copy+paste:


de.geocities.com/clausreibenstein/6_5.zip



Any help ?

Thanks for reading ..
WolfgangS
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Post by tinman »

Code: Select all

        Shot\deltaZ= gsin(MainCam\CameraDirectionX)                                  * Shot\Speed
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
WolfgangS
Enthusiast
Enthusiast
Posts: 174
Joined: Fri Apr 25, 2003 3:30 pm

Post by WolfgangS »

Thank you Tinman ...

"Waitress ! A big pitcher oil for my friend tinman ...."

MFG
:D WolfgangS"
Post Reply