• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

smix8/GodotAnimationRetargeting: Animation Retargeting module for Godot Game Eng ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

smix8/GodotAnimationRetargeting

开源软件地址:

https://github.com/smix8/GodotAnimationRetargeting

开源编程语言:


开源软件介绍:

Godot Animation Retargeting

animationretargeting_banner

Animation Retargeting module for Godot Game Engine.

The module is work in progress, only use the master/main branch for testing.

See Godot 4.x and Godot 3.x branch respectively.

Due to popular demand an addon version made with GDScript is available. This version does not have the full feature set due to performance restrictions, addons are just to slow.

See Godot 4.x GDScript and Godot 3.x GDScript branch respectively.

Introduces a new Node Type that can be used to transfer Animation data authored for one Skeleton to another Skeleton inside the Godot Editor or at runtime in your game project.

Features:

  • New Godot Node type to retarget animations in both editor as well as runtime in exported games.
  • Transfer Animations and entire AnimationsPlayers between two similar Skeletons with a button press.
  • Multiple retargeting options to filter for certain animation ids.
  • Editing interface to correct bone errors for entire animations.
  • Bake options to create new skeleton animation variants from existing animations.
  • Live update to see all changes and corrections immediately inside the editor.
  • Runtime retargeting API to save performance and precious filesize in exported games.
  • Support for custom bone mappings and remappings to transfer animations to different skeletons.
  • Preset bone mappings for some well established skeleton rigs from DCC tools or vendors. (in development)
  • Custom editor dock and interface to enhance your animation workflow in Godot. (in development)
  • Ruby colors!

animationretargeting_demo_anim

Installation

C++ Module

  1. Download and compile Godot from source and assure it runs on your hardware. See official Godot documentation for instructions how to compile Godot from source.
  2. Download repository branch for your Godot version (Godot 4.x/Godot 3.x) and unpack it.
  3. Create an "animation_retargeting" folder inside your Godot source modules folder and drop the unpacked repo content into it. Your path should end up as "godotsourcefolder/modules/animation_retargeting".
  4. Compile Godot from source again with the added AnimationRetargeting module.
  5. Inside Godot Editor search for "AnimationRetargeting" Node in the "AddNode" dialog.

GDScript Addon

  1. Download repository branch for your Godot version (Godot 4.x_gdscript/Godot 3.x_gdscript) and unpack it.
  2. Drop the unpacked repo "addon" folder into your Godot project folder.
  3. Active the addon inside the projectsettings menu.
  4. Inside Godot Editor search for "AnimationRetargeting" Node in the "AddNode" dialog.

Setup | Usage

  1. Add an AnimationRetargeting Node in your project.

  2. Add NodePath to your source skeleton.

  3. Add NodePath to your source skeleton AnimationPlayer.

  4. Add NodePath to your target skeleton.

  5. Add NodePath to your target skeleton AnimationPlayer.

  6. Customize retargeting and export settings.

  7. Make manual backups of all your Animation files and AnimationPlayers.

  8. Press "Retarget Animation" button in the editor or call start_retargeting() function.

  9. To use custom bone mappings load your {"source_bone_name":"target_bone_name"} Dictionary with set_custom_bone_mapping() before you call start_retargeting(). It is better to save you custom bone mapping Dictionary in a script file (or read from JSON) so no progress is lost when the Godot Inspector bugs out.

  10. Hunt bugs!

Refer to AnimationRetargeting Node documentation inside Godot Editor for more function and property explanations.

See below more recent devlog videos for current usage.

animationretargeting_node_inspector

Devlog Video #5 Module backported to Godot 3.3

devlog5

Devlog Video #4 Correcting bones and creating new animation variants

devlog4

Devlog Video #3 Retargeting animations to multiple characters

devlog3

License

MIT

Contributers

Special thanks for fixing bugs or extensive testing:

  • stryker313
  • WiredDreamcaster



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap