当前位置:网站首页>[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


边栏推荐
- Unity's 3D multi-point arrow navigation
- Concurrent mode of different performance testing tools
- In the innovation community, the "100 cities Tour" of the gold warehouse of the National People's Congress of 2022 was launched
- Tip of edge browser: enter+ctrl can automatically convert the address bar into a web address
- 2022年T电梯修理题库及模拟考试
- This may be your last chance to join Tencent
- Ten wastes of software research and development: the other side of research and development efficiency
- 京东智能客服言犀意图体系搭建和意图识别技术介绍
- Mallbook: how can hotel enterprises break the situation in the post epidemic era?
- [Master / slave] router election in DD message
猜你喜欢

OdeInt与GPU

Huawei simulator ENSP - hcip - Hybrid Experiment 2

Task04 | statistiques mathématiques

Go learning --- unit test subtest

Knowledge supplement: basic usage of redis based on docker

Hololens2 development environment building and deploying apps

Introduction of Spock unit test framework and its practice in meituan optimization___ Chapter I

跳槽一次涨8k,5年跳了3次...

Tip of edge browser: enter+ctrl can automatically convert the address bar into a web address

Maixll-Dock 快速上手
随机推荐
Caijing 365 stock internal reference | the first IPO of Beijing stock exchange; the subsidiary of the recommended securities firm for gambling and gambling, with a 40% discount
Obtain detailed ideas for ABCDEF questions of 2022 American Games
283. move zero
Redis (VII) optimization suggestions
Hololens2 development environment building and deploying apps
JS rotation chart
Procurement intelligence is about to break out, and Alipay'3+2'system helps enterprises build core competitive advantages
What are permissions? What are roles? What are users?
Coinbase in a bear market: losses, layoffs, stock price plunges
How to choose the right server for website data collection?
网站服务器:好用的网站服务器怎么选这五方面要关注
NFT: utilisez EIP - 2981 pour commencer un voyage de redevances NFT
2022 gas examination question bank and online simulation examination
After many job hopping, the monthly salary is equal to the annual salary of old colleagues
JD intelligent customer service Yanxi intention system construction and intention recognition technology introduction
Recommend the best product development process in the Internet industry!
总结全了,低代码还需要解决这4点问题
25.k sets of flipped linked lists
Day 52 - tree problem
Codeforces Round #721 (Div. 2)B1. Palindrome Game (easy version)B2. Palindrome game (hard version)