Locking thread unsafe variables; introduce angle influence based on player height