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¶
Inherits: VisualInstance3D < Node3D < Node < Object
在 AnimationTree 中设置根运动的仅编辑器可用的辅助工具。
Description¶
根运动(Root Motion)是一种动画技术,通过使用网格的骨架为角色提供冲量。在处理 3D 动画时,动画师通常使用根骨骼来为其余的骨骼提供动作,从而使得角色的动画能够准确地匹配地面,并实现在电影中与物体的精确交互。另请参阅 AnimationTree。
注意:RootMotionView 仅在编辑器中可见。在运行的项目中将自动隐藏。
Tutorials¶
Properties¶
|
||
|
||
|
||
|
||
|
Property Descriptions¶
NodePath animation_path = NodePath("")
用作根运动的基的 AnimationTree 节点的路径。
float cell_size = 1.0
以 3D 单位表示的网格单元大小。
Color color = Color(0.5, 0.5, 1, 1)
网格的颜色。
float radius = 10.0
以 3D 单位表示的网格半径。随着与原点的距离增加,网格的不透明度将逐渐消失,直到达到此半径 radius。
bool zero_y = true
如果为 true
,则网格的点都将位于相同的 Y 坐标上(local Y = 0)。如果 false
,则保留点的原始 Y 坐标。