I posted this already in the physics forum but nobody gave any good suggestions so I'm posting again here.

Is there any way to c_scan from a position in the world (i.e. the point of the explosion), then in the entitys' EVENT_SCAN event calculate the distance and direction from the explosion point to my.x, then calculate the correct force that needs to be applied according to the distance then use phent_addcentralforce(); or some other one of those functions to apply it in the right direction. I know there would be lots of trig and vector math involved, and I would figure it out myself, but I'm just starting highschool so obviously haven't learned that yet.


Bet you don't know where Taiwan is lol.

"The Lord is my light and my salvation..." Psm 27:1