动画在Unity3D 3D对象拆装 [英] Animate 3D object disassembly in Unity3D

查看:1197
本文介绍了动画在Unity3D 3D对象拆装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题就是选择合适的方法,因为我不知道有关解决方案。

my question is just about choosing the right approach because i'm not sure about the solution.

我得到的3D模型在我的项目,在某些时候我想显示动画拆装,对象像200件财产以后制成的。
一个关键帧用一个,这样的动画非常耗时。
我要找的动画就像是从该对象,以便部分只是搬出其中心的中心爆炸。

i got 3d model in my project, at some point i want to show animated disassembly , the object is made of somthing like 200 pieces. so animating with keyframe one by one is time consuming. the animation i'm looking for is like explosion from the center of the object so the parts will just move out of its center.

示例图像:

example image:

你会怎么办?
什么是管理这些任务的最佳方法是什么?

what would you do? what is the best way to manage such task?

推荐答案

我想code吧。也许我有偏见,因为我是一个程序员,但动画这将是一个痛苦。

I would code it. Maybe I am biased because I am a programmer, but animating it would be a pain.

所以,我将模型导入Unity3d。然后我会抓住所有的零部件,并将它们存储在列表中。一旦我有200份,然后我可以做任何事情,我想他们。

So I would import the model into Unity3d. Then I would grab all the parts and store them in a list. Once I have the 200 parts then I can do anything I want to them.

我会再进行rigibodies和箱撞机重视所有这些 - 这可以通过编程来完成。然后,你可以通过添加速度为每部分开始爆炸。如果你想成为非常现实的和有东西是相当随机的,你可以给每个物体的质量,然后用公式 F = MA 的爆炸。也就是说,每个部分将取决于它们具有质量得到不同的加速度。

I would then proceed to attach rigibodies and box colliders to them all -- this can be done programmatically. Then you can initiate the explosion by adding a velocity to each part. If you want to be fairly realistic and have something that is fairly random you can give each object mass and then use the equation F=ma for the explosion. That is, each part will get different acceleration depending on the mass they have.

这篇关于动画在Unity3D 3D对象拆装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆