当前位置:网站首页>[godot] unity's animator is different from Godot's animplayer
[godot] unity's animator is different from Godot's animplayer
2022-07-01 04:26:00 【Cheap meow】
https://blog.csdn.net/XcantloadX/article/details/104032664
BIG_KENG
In fact, as long as the relative coordinates are established, you can use the position.
I usually create a parent object first , As reference coordinates , Then create a child object under the parent object , Use sub objects to host animation components , In this case , Of sub objects in the animation system position It becomes the coordinates relative to the parent object , The animation will move according to the coordinates of the parent object rather than the world , Don't write code , You can also preview .
Unity Of animator The position in the node tree determines the parent node of the animation , namely , Regardless of controller Selected animation controller The position of the object controlled in the node tree ,animator The parent node of the node where this component is located is the parent node of the animation
and Godot Medium animplayer The parent node of the animation controlled is the parent node of the animation object . This may be because Godot Medium animplayer Itself is a place in tscn Nodes in , He can determine a relative position by himself
in general , stay Unity in , I feel that I still need to put the animation in perfab There will be a little more child nodes of , But at this time, we should pay special attention not to directly perfab Example use of .GetComponent<Animator>()
It needs to be used inchild Version of , That's better than Godot One more step in consideration
边栏推荐
- 细数软件研发效能的七宗罪
- Web server: how to choose a good web server these five aspects should be paid attention to
- Maixll-Dock 快速上手
- 定了!2022京东全球科技探索者大会之京东云峰会7月13日北京见
- Valid @suppresswarnings warning name
- 2022年煤气考试题库及在线模拟考试
- Hololens2 development environment building and deploying apps
- NFT:使用 EIP-2981 開啟 NFT 版稅之旅
- Odeint et GPU
- VR线上展览所具备应用及特色
猜你喜欢
"Target detection" + "visual understanding" realizes the understanding of the input image
嵌入式系统开发笔记79:为什么要获取本机网卡IP地址
Maixll-Dock 快速上手
离线安装wireshark2.6.10
Daily question - line 10
2022年聚合工艺考试题及模拟考试
Common thread methods and daemon threads
2022年G1工业锅炉司炉特种作业证考试题库及在线模拟考试
TS type gymnastics: illustrating a complex advanced type
TASK04|数理统计
随机推荐
Redis (VII) optimization suggestions
Odeint and GPU
跳槽一次涨8k,5年跳了3次...
NFT: utilisez EIP - 2981 pour commencer un voyage de redevances NFT
2022 question bank and answers for safety production management personnel of hazardous chemical production units
[recommended algorithm] C interview question of a small factory
Valid @suppresswarnings warning name
Odeint et GPU
京东智能客服言犀意图体系搭建和意图识别技术介绍
陈宇(Aqua)-安全-&gt;云安全-&gt;多云安全
Class and object finalization
Analysis and case of pageobject mode
Day 52 - tree problem
细数软件研发效能的七宗罪
After many job hopping, the monthly salary is equal to the annual salary of old colleagues
MySQL winter vacation self-study 2022 12 (5)
OdeInt與GPU
分账技术赋能农贸市场,重塑交易管理服务效能
【LeetCode】100. Same tree
Rule method: number of effective triangles