Hello! I feel llike this is a simple question but anyhow. I want to play my tree falling animations depending on what side of tree my player is. So how do i get to know what side of the tree my player is? Also my trees have random rotation but that should not matter. It doesnt have to but super precise.
If rotation is irrelevant, simply calculate position difference, between tree and your object. You get direction vector. You can optionally normalize it.