当前位置:首页 > articles > 正文内容

三js如何向FBX模型添加多个没有蒙皮的Mixamo动画?

Luz6个月前 (04-10)articles469

Three.js how to add multiple Mixamo animations without skin to an FBX model?

  • Anye 问题:
    • I'm trying to create a game where there is an animated character that has multiple animations from Mixamo. I want the animation to change based on what the user is doing on the game, like
      Walking
      ,
      Running
      , or
      Idle
      . Here is how I'm loading the
      FBX
      model (without animations):
    • loader.load('Assets/Animations/Main.fbx', function(object){    object.traverse(function (child){        if (child.isMesh) {           child.castShadow = true;           child.receiveShadow = true;           child.frustumCulled = false;        }   });   object.rotation.x = Math.PI / 2   object.position.x = 11;   scene.add(object);});
    • 我还有以下文件,它们是没有皮肤的动画
    • Idle.fbxWalking.fbxRunning.fbx
    • My goal is to try to make something like this or like this. The only problem with these 2 links is that in the first one, they are using a model with multiple animations attached to it (I have a plain model with 3 animations without skin), and in the second one, the code is written using
      TypeScript
      (I prefer
      JavaScript
      ).
    • 我是3D建模的新手,所以我不知道如何将所有没有皮肤的动画附加到主fbx模型如何在Blender中将动画组合到一个模型中,或者有没有一种方法可以在三个模型中进行组合。js
    • 非常感谢您的帮助,谢谢!
  • 回答:

相关文章

单元测试名称重要吗?

Are unit-test names important?Xian 问题: 如果单元测试名称随着时间的推移而变得过时,如果您认为测试本身是最重要的事情,那么选择明智的测试名称是重要的吗?ie[Test]public void Sh...

应该如何使用kotlin将findViewById传递数据从活动页面写入片段页面

How should write the findViewById pass data to Fragment page from Activity page using kotlinMIN LEE 问题: //这是我的活动页面覆盖...

脚本1 linux中的crear usuarios和demás

Script 1 de crear usuarios y demás en linuxMaría Isabel De la Osa Rocha 问题: Cómo se haría el script del usuario porq...

Visual Studio GitHub链接到一个陌生人帐户

Visual Studio GitHub is linked to a stranger accountAhmed Khaldoon 问题: 我从VisualStudio2022(我们称之为divice a)中创建了一个新的私有re...

PySpark和SQL:连接和空值

PySpark and SQL : join and null valuesJoon 问题: 我有pyspark dataframe,由两列组成,每列分别命名为input和target。这两个是两个单列数据帧的交叉连接。下面是这样一...

如何在68K汇编中使用两个条件执行if语句

How to perform an if statement with two conditions in 68K AssemblyNathan 问题: 我有这个C++代码,在这里有这个if语句:if(this &&...

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。