Throwing A Grenade

Blitz3D Forums/Blitz3D Programming/Throwing A Grenade

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Wow thanks! Thats exactly what i needed!

Only i cant implement it wreally in my game... I cant quite understand th "TformVector" and "TFormPoint" commands since its difficult and in english (im from Sweden).

I did get it to work at first but then i didnt want it to move with constant speed e.g "Timstep = 0.05" i wanted it to move according to the power wich it was fired with. I have it so that the longer you press 'g' the harder you throw, and i want the power to decrease after each check. That would result in the nade going different far depending to the "ThisNade\ThrowPower#" variable.

Also the Grenade doesent move directly out from the player theres something wrong with the RotateEntity perhaps i dont even need it...?
But then again without routation the nad always moves in a certain degree, or? well theres the problem with TForm.
I want it to go in the "EntityPitch#(Camera)".

Hope that made some sence. Im working on it but i have to get som exercise now =) would truly appreciate som tweaking help. But if not then thanx anyhow you have helped me alot!

Cya