I have a simple function that uses phent_addcentralforce() to fire an object. I want to fire it from a FPS view ie from the camera. I just can't figure it out.
Does anyone have some code for this please ?
Thanks
Drac.
Re: firing using phent_addcentralforce ??
[Re: dracula]
#248245 01/25/0916:0701/25/0916:07
This is more tricky than you think because c_trace (as I have used before) uses a direction vector where as phent_addcentralforce uses force. Also, I am not using a model, just the camera co-ordinates
Thanks
Drac.
Re: firing using phent_addcentralforce ??
[Re: dracula]
#248323 01/26/0902:0801/26/0902:08