Skip to content

0.5.0

Latest

Choose a tag to compare

@akasaki1211 akasaki1211 released this 02 Jul 07:33
· 8 commits to main since this release

Version

  • boneDynamicsNode (main plug-in): 0.5.0
  • bdn (Python helper package): 0.1.0

Download

Source code zip file containing the plug-in binaries and scripts folder

After downloading the zip file, copy the plug-in file for your Maya version from the plug-ins folder to a Maya plug-ins path, and copy the scripts folder to a Maya scripts path. The scripts folder contains the bdn Python helper package and AETemplate files.

For detailed installation instructions, see the README or Wiki

Individual plug-in files

If you are only using scenes that are already set up with boneDynamicsNode, the main .mll plug-in file is enough to load and evaluate those scenes. In that case, you can download only the .mll file for your Maya version.

Maya ver Platform Download
Maya 2022 Update 5 Win64 boneDynamicsNode.mll
Maya 2023 Update 3 Win64 boneDynamicsNode.mll
Maya 2024 Update 2 Win64 boneDynamicsNode.mll
Maya 2025 Update 3 Win64 boneDynamicsNode.mll
Maya 2026 Update 3 Win64 boneDynamicsNode.mll
Maya 2027 Update 1 Win64 boneDynamicsNode.mll

Change Log

Features

Dedicated Collider Node

  • Added dedicated collider nodes: sphereColliderNode, capsuleColliderNode, and infinitePlaneColliderNode. (#10)

    • These nodes remove the dependency on expcol colliders. Existing parameter connections and expcol can still be used.

    dedicated_collider

Visualizer Node

  • Added the helper node boneDynamicsVisualizer for visualizing collision radius and angle limits in the viewport. (#13)

    • Using this node is optional and does not affect simulation behavior.

    visualizer

boneDynamicsNode

  • Added capsuleColliderInput as a new capsule collider input format that uses a single center matrix, height, and two radius. The previous capsule input based on two endpoint matrices remains available as the legacy input format.

  • Added support for treating the simulated bone section as a capsule. (#12)

    • This addresses cases where small colliders can pass through a long single bone.
    • This mode currently applies only to Sphere and Capsule collision. InfinitePlane, Mesh, and Ground continue to use the existing End Radius based behavior.

    bone_as_capsule

Python Helper Package

  • Added the bdn package, which provides helper functions for creating Dynamics Nodes, creating Collider Nodes, connecting and disconnecting colliders, and creating Visualizers. (#11)

    from maya import cmds
    import bdn
    
    # Select in order from root to tip of the joint-chain.
    joints = cmds.ls(sl=True)
    
    # Attribute values applied to every boneDynamicsNode created below.
    additional_attrs = {
        "rootRadius": 1.5,
        "radius": 1.5,
        "boneAsCapsule": True,
        "enableAngleLimit": True, 
    }
    
    # Create a boneDynamicsNode for each bone section.
    bd_nodes = []
    for bone, end in zip(joints[:-1], joints[1:]):
        bd_nodes.append(
          bdn.create_dynamics_node(bone, end, scalable=True, **additional_attrs)
        )
    
    # Create sphere, capsule, and infinite-plane colliders.
    sphere_col, _ = bdn.create_sphere_collider()
    capsule_col, _ = bdn.create_capsule_collider()
    iplane_col, _ = bdn.create_infinite_plane_collider()
    
    # Connect colliders for each boneDynamicsNode.
    for bd_node in bd_nodes:
        bdn.connect_colliders(bd_node, [sphere_col, capsule_col, iplane_col])
    
    # Create visualizer for each boneDynamicsNode.
    for bd_node in bd_nodes:
      bdn.create_visualizer(bd_node)

Others

  • Added utilities such as boneDynamicsUtils and reorganized the overall C++ code structure.
  • Added nodeIds.h to manage Maya Node IDs in one place.
  • Added the Windows batch script build_win.bat for building the plug-in package in one pass.

Unverified Linux binary

An unverified Linux .so package is attached to this release:

This package was built under WSL(Ubuntu) using the Linux Maya devkit, but it has not been tested in Linux Maya.
Plug-in loading, node creation, runtime behavior, collider behavior, and scene compatibility are not verified.

Use it at your own risk. For verified Linux support, please build from source or test the binary in your own Linux Maya environment.