[API Feature Request] Expose ShapeBase nodes to Lua engine

Discussion in 'Programming' started by austint30, Nov 26, 2024.

  1. austint30

    austint30
    Expand Collapse

    Joined:
    Aug 7, 2013
    Messages:
    243
    Hello all,

    I am working on a mod where I want to utilize the Torque3D ShapeBase class. Part of my requirements is to procedurally animate a rigged mesh by setting the transform of nodes in the ShapeBase class's shape instance. I will also be utilizing the animation threading system of the ShapeBase class so I can make layered animations.

    Unfortunately, I am at a roadblock here. Since I do not have access to the C++ source code I cannot expose the nodes from the TSShapeInstance class to the lua engine.

    I would be very thankful if one of the BeamNG developers could expose getters/setters for nodes similar to this example: https://torque3d.org/forums/topic/1266-get-nodebone-position/

    Thank you

    P.S. Not sure if it's against the rules to ping the devs here. I'll ping @Car_Killer, @synsol and @Ai'Torror since they are listed on the Mod Support page.
     
  2. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,515
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice