[Improvement/BugFix] Make Physics checks use local physics scene

Forums 💬 NodeCanvas ⚙️ Support [Improvement/BugFix] Make Physics checks use local physics scene

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15878
    randomuser
    Participant

      Hi,
      all action/condition nodes i inspected that use physics queries use the static Physics class directly. This breaks multi-scene workflows where scenes have local physics scenes. I want to suggest reworking them to use the agent’s physics scene by default instead (agent.gameObject.GetPhysicsScene()). If users don’t explicitly set it this will still be valid as they will use the global one instead implicitly.

      #15879
      Gavalakis
      Keymaster

        Hey,

        I agree with you. I will change the physics related tasks to use your suggestion for the next version 🙂
        Thank you.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.