当前位置:网站首页>Rotation order and universal lock of unity panel
Rotation order and universal lock of unity panel
2022-07-01 17:35:00 【ZEKEGU1997】
Every unity Objects have one on the panel rotation value , So how do you get the value of this rotation ?
Suppose an object xyz Of rotation Values are not zero , We will find this by pulling the value on the panel , pull y Value is the value of the object around the world coordinate y The axis rotates in the vertical direction , pull z The axis of an object along its own coordinates z Shaft rotation , pull x The axis is difficult to see the rotating axis .
If the rotationZ Value to 0, Pull again x, Find the object around its own coordinates x Shaft rotation
The moving picture comes from (7 Bar message ) unity Rotating Euler angle Omnidirectional lock explain _fengya1 The column -CSDN Blog _unity Omnidirectional lock
For this phenomenon , We can think of it this way ,unity Get a rotating object , It's from (0,0,0) Start , Go around first y Shaft rotation , And then there was x Axis , And finally z Axis .
What is the phenomenon of universal lock ? It refers to pitch value , namely unity In the panel rotationX by 90 degree , Rotation will lose a degree of freedom .
Set up rotationX by 90 degree , Pull again y and z, You will find that their rotation axes coincide , In this way, it can no longer rotate freely . Increase Euler angle by code x, You will also find arrival 90 Time cannot be increased .
This problem can be prevented by substituting quaternions for Euler angles .
边栏推荐
- PETRv2:一个多摄像头图像3D感知的统一框架
- Wechat applet blind box - docking wechat payment
- Kia recalls some K3 new energy with potential safety hazards
- FRP intranet penetration, reverse proxy
- Soft test network engineer full truth simulation question (including answer and analysis)
- Petrv2: a unified framework for 3D perception of multi camera images
- 走进微信小程序
- Unity3d extended toolbar
- String的trim()和substring()详解
- 重磅披露!上百个重要信息系统被入侵,主机成为重点攻击目标
猜你喜欢
SQL注入漏洞(Mysql与MSSQL特性)
The difference and relationship between iteratible objects, iterators and generators
DNS
Mysql database - Advanced SQL statement (2)
Soft test network engineer full truth simulation question (including answer and analysis)
Encryption and decryption of tinyurl in leetcode
Why should you consider using prism
How to use JMeter function and mockjs function in metersphere interface test
剑指 Offer 20. 表示数值的字符串
字节跳动数据平台技术揭秘:基于 ClickHouse 的复杂查询实现与优化
随机推荐
中国超高分子量聚乙烯产业调研与投资前景报告(2022版)
官宣!香港科技大学(广州)获批!
Pytest learning notes (13) -allure of allure Description () and @allure title()
Iommu/smmuv3 code analysis (10) page table operation
In depth evaluation and development trend prediction report of China's ice cream market (2022 Edition)
Integer array merge [JS]
【C语言基础】12 字符串
JDBC:深入理解PreparedStatement和Statement[通俗易懂]
China PBAT resin Market Forecast and Strategic Research Report (2022 Edition)
Transition technology from IPv4 to IPv6
C language implementation of sum of two numbers [easy to understand]
National Security Agency (NSA) "sour Fox" vulnerability attack weapon platform technical analysis report
Object. fromEntries()
Intel's open source deep learning tool library openvino will increase cooperation with local software and hardware parties and continue to open
China acetonitrile market forecast and strategic consulting research report (2022 Edition)
(1) CNN network structure
如何写出好代码 — 防御式编程指南
libcurl下载文件的代码示例
【C补充】【字符串】按日期排序显示一个月的日程
Kernel stray cat stray dog pet adoption platform H5 source code