当前位置:网站首页>Unity cloth system_ Cloth component (including dynamic call related)
Unity cloth system_ Cloth component (including dynamic call related)
2022-06-26 22:00:00 【suixinger_ lmh】
Unity Distribution system
explain :
unity Its own cloth physical system
Use :
- New empty object ;
- add to cloth Components ,unity It will automatically come with skinned mesh renderer Components ;
- Will need mesh and materials , Assign a value to skinned mesh renderer Components ;
- Click on cloth The icon in the upper left corner of the component (Edit cloth constraints);
- scene The cloth parameter adjustment panel will appear in the panel ( Unseen open Gizmos, Show scene icons );
- Select the corresponding vertex on the model ( If the vertex is too large or too small , Adjust the Constraint Size To a suitable value );
- Limit the selected points as required ( for example : The side connecting the flagpole usually doesn't move , Check Max Distance Value is set to 0; Make it immovable );
The main points of :
1. At present, the distribution system can only work with Capsule Collider as well as Sphere Collider The two colliders interact ;
2. To drag the collider of the object participating in the cloth physical system into cloth In the collider group of the assembly ;
Dynamic call correlation :
problem :
According to the usage of cloth, it is not recommended to use it dynamically , But it is also feasible to use it dynamically .
However, there are many problems with dynamic invocation :
- Dynamically give cloth Add collision body to the component , Although you can always add , But when it exceeds a certain amount , Extra colliders do not produce physical effects .
- When the material distribution system has physical effects , If you change ( Delete ) Number of collision bodies , Physical effects can mutate . Change is possible when there is no interaction for the time being .
- Colliders added to the cloth system , Even if the object is hidden ,enable=false fall , Will still produce physical effects , Even use position=newpos To change the position of the impactor ,newpos And the current path through the cloth system , Physical effects can still occur .
The effect of Article 3 is somewhat similar to character controller And some properties of rigid bodies , But the cloth seems to be calculated by putting all the data in the cloth system .
It's a mess , To solve the third problem , It is necessary to move the collision body from cloth Remove , To remove , You will encounter the second problem , Need assurance cloth Not in the interaction .
Because it is used directly , Wait until you look back at the official documents .
边栏推荐
- 同花顺注册开户有没有什么风险?安全吗?
- DAST 黑盒漏洞扫描器 第五篇:漏洞扫描引擎与服务能力
- 【数学建模】基于matlab GUI随机节点的生成树【含Matlab源码 1919期】
- Godson China Science and technology innovation board is listed: the market value is 35.7 billion yuan, becoming the first share of domestic CPU
- 协同过滤进化版本NeuralCF及tensorflow2实现
- 指南针能开户炒股吗?安全吗?
- How to analyze financial expenses
- Module externe unity3d anyportrait 2D Skeleton Animation
- random_normal_initializer 使用
- Yolov6: the fast and accurate target detection framework is open source
猜你喜欢

Yolov6: the fast and accurate target detection framework is open source

The latest 2022 research review of "continuous learning, CL"

Vulnhub's DC8

BN(Batch Normalization) 的理论理解以及在tf.keras中的实际应用和总结

360手机助手首家接入APP签名服务系统 助力隐私安全分发

Web crawler 2: crawl the user ID and home page address of Netease cloud music reviews

Convolutional neural network (CNN) explanation and tensorflow2 code implementation

基于启发式搜索的一字棋

AI intelligent matting tool - hair can be seen

leetcode:6103. 从树中删除边的最小分数【dfs + 联通分量 + 子图的值记录】
随机推荐
curl: (35) LibreSSL SSL_ connect: SSL_ ERROR_ SYSCALL in connection
How SAP Spartacus default routing configuration works
Which securities company is the most convenient, safe and reliable for opening an account
leetcode:141. Circular linked list [hash table + speed pointer]
YOLOv6:又快又准的目標檢測框架開源啦
Final part of web crawler: send directional messages to 100000 Netease cloud users
如何写好测试用例以及go单元测试工具testify简单介绍
JupyterLab 常用配置
leetcode:6103. 从树中删除边的最小分数【dfs + 联通分量 + 子图的值记录】
Introduction to dependency injection in SAP Spartacus
聊聊我的远程工作体验 | 社区征文
Application and Optimization Practice of 100 million level monthly live national karaoke feed service in Tencent cloud mongodb
【数学建模】基于matlab GUI随机节点的生成树【含Matlab源码 1919期】
KDD2022 | 基于知识增强提示学习的统一会话推荐系统
What are the accounting elements
在哪家证券公司开户最方便最安全可靠
Is there any risk in registering and opening an account for stock speculation? Is it safe?
Unity3D插件 AnyPortrait 2D骨骼动画制作
Parsing complex JSON in fluent
YOLOv6:又快又准的目标检测框架开源啦