Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: heavygunner on March 17, 2021, 03:20:10 PM
-
hi,
i have a player. if obstacle hit him on back, he should fall front.
if obstacle hit him on front, he should fall back.
i have both animations. not sure how to do it perfectly.
Thanks
-
Hi.
in our 2d game i get the position of the player and the hit position from the for example (bullet) to know if hit from left or right.
Then i check the rotation of the player to check which side hes facing.