Git Product home page Git Product logo

Comments (6)

BluePrintRandom avatar BluePrintRandom commented on May 30, 2024

This is so Pagio point and click can move forward, they would greatly appreciate it.

from upbge.

organicpencil avatar organicpencil commented on May 30, 2024

I have this mostly done in a local branch. Will make a pull request when it's ready.

from upbge.

BluePrintRandom avatar BluePrintRandom commented on May 30, 2024

:+1

from upbge.

organicpencil avatar organicpencil commented on May 30, 2024

Not a complete solution, but #57 exposes the steering actuator's path to Python. Though you'll still need to hack something together, at least we're not wasting CPU re-calculating the path.

My endeavor to add the angle limit was a complete failure. It couldn't be done without either changing the behavior (effectively breaking other games, which is what I sorta did), cluttering the code with if statements, or completely re-designing the actuator. With logic nodes on the horizon I couldn't justify the redesign.

Unless someone has more to add, I think we can safely close this one.

from upbge.

BluePrintRandom avatar BluePrintRandom commented on May 30, 2024

You can already get a path using navmesh.findpath

I already implemented it, and have a almost desited behavior,
and it also is a mess of if's :D

On Sat, Mar 12, 2016 at 9:14 PM, pqftgs [email protected] wrote:

Not a complete solution, but #57
#57 exposes the steering
actuator's path to Python. Though you'll still need to hack something
together, at least we're not wasting CPU re-calculating the path.

My endeavor to add the angle limit was a complete failure. It couldn't be
done without either changing the behavior (effectively breaking other
games, which is what I sorta did), cluttering the code with if statements,
or completely re-designing the actuator. With logic nodes on the horizon I
couldn't justify the redesign.

Unless someone has more to add, I think we can safely close this one.


Reply to this email directly or view it on GitHub
#17 (comment).

from upbge.

organicpencil avatar organicpencil commented on May 30, 2024

Yes. This commit is for the deranged soul who seeks a foul incarnation of logic brick and Python without using navmesh.findPath to re-calculate the path. There is no performance gain unless already using the actuator.

from upbge.

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.