Giter VIP home page Giter VIP logo

Comments (5)

katsaii avatar katsaii commented on August 10, 2024

Can you give me an example of how this would be used? I'm not sure what purpose these functions could offer.

from disarm.

YigitBudur avatar YigitBudur commented on August 10, 2024

Can you give me an example of how this would be used? I'm not sure what purpose these functions could offer.

In my case, I need these functions to create particles after a sword. So its like a slash trail. But I need to pass those length values to lenghtdir functions.

from disarm.

katsaii avatar katsaii commented on August 10, 2024

You can currently get the bone width and height by accessing the bone data:

var bone = disarm_bone_get_data(arm, "bone name");
var length = bone.width;
var diameter = bone.height;

Hopefully this helps for now.

from disarm.

YigitBudur avatar YigitBudur commented on August 10, 2024

It does, thanks. Those functions were to make sense with the built-in GML functions for new users of Disarm

from disarm.

YigitBudur avatar YigitBudur commented on August 10, 2024

bone.width doesn't return the attached skin's width but just the bone width. Is there a way to do so? I need to know the equipped sword's image length(width) in my case

from disarm.

Related Issues (6)

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.