Quote:
Originally posted by Torankusu
not always.
you can also use them for detecting tiles infront of the players dir.
EXAMPLE:
NPC Code:
hitobjects 2,playerx+1.5+vecx(playerdir)*2,playery+2+vecy(pla yerdir)*2;
|
Yes, that is the kind of thing I want to know, for using with a triggeraction, to detect a player in front of you. Can you explain why the playerx has the +1.5+vecx(playerdir)*2 and the playery has +2+vecy(playerdir)*2 , please?