protected virtual void FixedUpdate() { if (!PhotonNetwork.isMasterClient && m_IsInitialized) { return; } if (!m_IsImmobile && m_BehaviourTree != null) { //do any physics based node logic within the behaviour tree m_BehaviourTree.FixedUpdateBehaviourTree(); } }