Giter VIP home page Giter VIP logo

footprints's People

Contributors

4p5 avatar

Watchers

 avatar

footprints's Issues

Overhangs persist in certain situations

Footprints overhang their parent block's hitbox in some cases, e.g., when walking on a ledge with a carpet beneath it (or any other small block), or when walking over stairs or blocks that elevate the player higher than the lowest part of the block.

I'll need to find a way to either 1. check (within a tick) whether the current position is solid or not (i.e., stops negative vertical movement), to apply this to many points spread around the origin, then if any succeed, remove the footprint.

Or 2. spawn many armor stands with small offsets around the original point, and allow them a second or so to fall down. If any fall down from gravity, select the lowest stands, and move the footprint to the one closest to the origin. This should let footprints "fall" down hills, and with a short enough timeout will make them accurately account for gaps. This will be laggy, however, and I can't find a small enough entity to be precise.

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.