当前位置:网站首页>Unity stepping on the pit record - the use of GetComponent
Unity stepping on the pit record - the use of GetComponent
2022-07-30 05:02:00 【Tiancefu wolf cub】
1. The first problemis to print the relativePosition and relativeRotation of the object relative to the main camera.
There has been a problem with the result. Through the frame test, it is found that the correct value has not been found, and the problem is not found until after the step-by-step printing and debugging: GetComponent has always obtained a part of the component of the object instead of all components.

The print result is as follows: The part of the yellow frame is printed, not the entire machine.

边栏推荐
- QT(39)-vs development qt program prompts that the source file cannot be opened
- 全流程调度——Azkaban入门与进阶
- 【Vitis】ZCU102开发板PS端控制PL端复位的代码实现
- - B + tree index and MySQL series 】 【 what is the difference between a HASH index
- C. Qualification Rounds
- POJ1321 棋盘问题(详解)
- WPF introduces ttf icon file usage record
- (RCE) Remote Code/Command Execution Vulnerability Vulnerability Exercise
- Requirements design document and the changing role of the product manager
- Nuxt3 learning
猜你喜欢

Stimulsoft ReportsJS and DashboardsJS. 2022.3.3

mysql isolation level
![[Linear table] - Detailed explanation of three practice questions of LeetCode](/img/71/91ba0cc16fe062c1ac9e77e1cc8aa2.png)
[Linear table] - Detailed explanation of three practice questions of LeetCode

GO语言学习笔记一

如何与墨西哥大众VW Mexico建立EDI连接
![handler+message [message mechanism]](/img/4b/981d5eb2f1afc98a4ceab38c505325.png)
handler+message [message mechanism]

【周周有奖】云原生编程挑战赛“边缘容器”赛道邀你来战!

Hexagon_V65_Programmers_Reference_Manual(10)

Plan for many situations in the processing chain
![[C language] Program environment and preprocessing](/img/d2/a0437da7d651e755951dd2a15827cf.png)
[C language] Program environment and preprocessing
随机推荐
Verify that the addShutdownHook hook takes effect
Xiamen SenseCore Technology MC3172(1): Introduction and Environment Construction
Hexagon_V65_Programmers_Reference_Manual(14)
模拟问题(上)
解决报错SyntaxError: (unicode error) ‘utf-8‘ codec can‘t decode byte 0xb7 in position 0: invalid start b
双指针问题(下)
Shanxi group (enterprises) in the second network security skills competition part problem WP (7)
GO语言学习笔记一
The 2nd Shanxi Province Network Security Skills Competition (Enterprise Group) Partial WP (10)
VisualStudio2022本地调试进入特别慢问题解决
SVN 查看用户名密码
Become a qualified cybersecurity, do you know this?
七、自定义配置
斐波那契数列的递归优化《备忘录递归》
Predictive maintenance scheduling of multiple power equipment based on data-driven fault prediction
22. Why do you need a message queue?What are the advantages of using the message queue?
Detailed explanation of REUSE_ALV_GRID_DISPLAY
GCC Rust is approved to be included in the mainline code base, or will meet you in GCC 13
WPF study notes "WPF Layout Basics"
Plan for many situations in the processing chain