GithubHelp home page GithubHelp logo

Target motion/dodging in onAI about fpsci HOT 1 OPEN

nvlabs avatar nvlabs commented on July 28, 2024
Target motion/dodging in onAI

from fpsci.

Comments (1)

jspjutNV avatar jspjutNV commented on July 28, 2024

The current implementation has all of the motion decision and movement happening in onSimulation() of the target, but the intent of G3D separating onSimulation() and onAI() is so that they have the option of running at different rates.

Typically, you'd place things in onAI() related to logical decision making.

onSimulation() would normally update the physics simulation or other motion that has already been pre-determined. So if a target wants to change direction, we could make that decision in onAI() and then onSimulation() would just move the target in the pre-determined direction except when a collision prevents that motion.

from fpsci.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.