当前位置:网站首页>ue4 瞄准偏移
ue4 瞄准偏移
2022-07-24 05:22:00 【真的没事鸭】
什么是瞄准偏移
瞄准偏移是一种资源,它存储了一系列可混合姿势,以帮助角色瞄准武器。在动画过程中,瞄准偏移的结果与其他动作(如奔跑,行走,跳跃等)混合在一起,使角色从各个方向上看起来都很平滑。
瞄准偏移背后的关键概念是,它们被设计成与现有动画进行额外混合。因此,打个比方,如果您使用瞄准偏移来让角色瞄准一个武器,您会想要确保角色上的其他运动不会妨碍那个附加运动。换句话说,您的奔跑、站立、跳跃等操作应该具有相对刚性的手臂,这样它们就可以通过瞄准偏移进行额外的控制。
因为瞄准偏移的目的是额外地附加一系列姿势以帮助瞄准,所以我们现在讨论通常需要创建的姿势类型。实际需要的姿势数量很大程度上取决于角色需要做的动作。
怎么制作瞄准偏移
创建瞄准偏移是在 内容浏览器(Content Browser) 中完成的,就像创建任何其他资源一样。可以 右键单击 ,并从上下文菜单中选择 动画(Animation)> 瞄准偏移(Aim Offset)。注意到,还可以选择 瞄准偏移1D(Aim Offset 1D)。它们与瞄准偏移相同,但只支持来自一个变量的输入以控制混合,而标准的瞄准偏移支持两个。
但是你将一个单帧的姿势拖进去是无效的,因为aimoffset需要的是一个additive animation,additive animation和普通的animation有什么区别呢?additive animation需要选择一个参考帧(参考动画),当前的姿势会根据参考动画进行一个差量计算,相同的骨骼(位移,旋转啥的都相同)会减成0,只播放不一样的东西。通常aimoffset是一个单帧的姿势,所以再添加一个单帧的参考姿势就可以使用了。总结来说就是单帧的目标动画需要一段基础动画序列提供动画过渡数据。
制作瞄准偏移遇到的问题
通常遇到的问题就是姿势拖到你创建的aimoffset是无效的,所以我们需要把这个姿势设置成additive animation。你需要设置的姿势左边资产详情有个附加设置,附加设置选择mesh space,下面的base pose type选择animation frame(动画帧),然后添加一个姿势就行。
不要选择local space(局部空间),因为瞄准偏移只接受带有附加瞄准类型网格体空间的动画。
![]()
边栏推荐
- Paper reading endmember guided unmixing network (EGU net)
- day5-jvm
- MySql下载,及安装环境设置
- day1-jvm+leetcode
- C语言链表(创建、遍历、释放、查找、删除、插入一个节点、排序,逆序)
- AD1256
- day3-jvm+排序总结
- JSON. Dumps() function parsing
- JDBC elementary learning ------ (learning from Shang Silicon Valley)
- Raspberry pie is of great use. Use the campus network to build a campus local website
猜你喜欢
![[raspberry pie 4B] VII. Summary of remote login methods for raspberry pie xshell, putty, vncserver, xrdp](/img/dc/364fdc4c1748cc5522e4592bc47dc3.png)
[raspberry pie 4B] VII. Summary of remote login methods for raspberry pie xshell, putty, vncserver, xrdp
![[principles of database system] Chapter 5 algebra and logic query language: package, extension operator, relational logic, relational algebra and datalog](/img/6a/c30b139823208a2e021135a4bf8d58.png)
[principles of database system] Chapter 5 algebra and logic query language: package, extension operator, relational logic, relational algebra and datalog

day2-WebSocket+排序

Foundation of JUC concurrent programming (8) -- read write lock

Openpose2d转换3d姿态识别

Day-7 JVM end

使用Keras和LSTM实现对于长期趋势记忆的时间序列预测-LSTNet

Headlong platform operation

MySql与Qt连接、将数据输出到QT的窗口tableWidget详细过程。

Yolov5 learning summary (continuously updated)
随机推荐
Write the list to txt and directly remove the comma in the middle
vsual studio 2013环境 Udp组播
Synergy LAN realizes multi host shared keyboard and mouse (AMD, arm)
数组常用方法
Machine learning (Zhou Zhihua) Chapter 3 Notes on learning linear models
Accessing a two-dimensional array with a pointer
[activiti] process example
MySql下载,及安装环境设置
JVM system learning
STM32 DSP library MDK vc5\vc6 compilation error: 256, (const float64_t *) twiddlecoeff64_ 256, armBitRevIndexTableF64_ 256,
Unity基础知识及一些基本API的使用
QT drawing exception using pure code
Foundation of JUC concurrent programming (1) -- related basic concepts
Bat batch script, running multiple files at the same time, batch commands executed in sequence, and xshell script.
Introduction to QT new project
es6常用特性
day5-jvm
Unity(二) 更多API和物理引擎
Native JS magnifying glass effect
day1-jvm+leetcode
