You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.
Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.
`tell enemy where it was hit from
move object x,1:nx#=object position x(x):nz#=object position z(x):move object x,-1 `x is the bullet which I move to get its trajectory then move back to where it was to get its origin
AI Set Entity Hit hit, nx#-object position x(x),nz#-object position z(x) `so nx#(new pos in x) minus origin in x gives me the vector in x (etc.)
Login to post a reply