Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
RootMotionView
继承: VisualInstance3D < Node3D < Node < Object
仅限编辑器的帮助程序,用于在 AnimationMixer 中设置根运动。
描述
根运动是指一种动画技术,通过使用网格的骨架为角色提供冲量。在处理 3D 动画时,动画师的一种流行技术是使用根骨架骨骼为骨架的其余部分提供运动。这允许以脚步实际与下面的地板匹配的方式对角色进行动画处理。它还允许在过场动画期间与对象进行精确交互。另见 AnimationMixer。
注意:RootMotionView 仅在编辑器中可见。在运行的项目中将自动隐藏。
教程
属性
|
||
|
||
|
||
|
||
|
属性说明
NodePath animation_path = NodePath("")
🔗
用作根运动的基的 AnimationMixer 节点的路径。
以 3D 单位表示的网格单元大小。
Color color = Color(0.5, 0.5, 1, 1)
🔗
网格的颜色。
以 3D 单位表示的网格半径。随着与原点的距离增加,网格的不透明度将逐渐消失,直到达到此半径 radius。
如果为 true
,则网格的点都将位于相同的 Y 坐标上(local Y = 0)。如果 false
,则保留点的原始 Y 坐标。