当前位置:网站首页>Unity's 3D multi-point arrow navigation
Unity's 3D multi-point arrow navigation
2022-07-01 03:57:00 【itsxwz】
2022.06.28
- When leaving the first navigation point , Arrow automatically creates the next arrow , This method can control the distance between the two arrows . In addition, you can use time to control the timing of the next arrow generation . When the first arrow reaches the last navigation point , Reclaim the arrow , That is to say, at most one arrow is reserved .
- The arrow displacement is through transform.position Data superimposed , It can control its moving speed .
- The direction of the arrow is for each set of paths ( Start and end two navigation points ) The direction of , Be careful : If you use a three-dimensional model , It is required that the axis corresponding to the model in the world space coordinate system be assigned as the direction . in addition , The center point and center of gravity of the model must coincide .
- Some path segment arrows are not flat , This problem has not been solved yet , There are two ideas :1) Through the direction vector and Vector3 The angle corresponding to the axial direction can be obtained from the fractional vector in each direction , And then convert it to the desired degree of rotation ;2) Determine two vectors through three points , And then find its normal vector , Set the corresponding axial orientation according to the normal vector , None of them passed the verification .
2022.06.29
- Specification of model making , No problem ~
design sketch :
边栏推荐
- 25.K个一组翻转链表
- TS type gymnastics: illustrating a complex advanced type
- 8. 字符串转换整数 (atoi)
- 基于Unet的环路滤波
- 241. Design priorities for operational expressions
- bootsrap中的栅格系统
- [reach out to Party welfare] developer reload system sequence
- 389. 找不同
- [ta - Frost Wolf May - 100 people plan] 2.3 Introduction aux fonctions communes
- Unity之三维空间多点箭头导航
猜你喜欢

Jenkins自动清理构建历史

283.移动零

Error: plug ins declaring extensions or extension points must set the singleton directive to true

Processing of menu buttons on the left and contents on the right of the background system page, and double scrolling appears on the background system page

206.反转链表

JMeter login failure, extracting login token, and obtaining token problem solving

NFT:使用 EIP-2981 开启 NFT 版税之旅

Future of NTF and trends in 2022

静态库使用MFC和共享库使用MFC的区别

Appium fundamentals of automated testing - basic principles of appium
随机推荐
MFC window scroll bar usage
Go learning --- unit test subtest
Visit the image URL stored by Alibaba cloud to preview the thumbnail directly on the web page instead of downloading it directly
392. judgment subsequence
陈宇(Aqua)-安全->云安全->多云安全
Qt开发经验小技巧226-230
Libevent Library Learning
【TA-霜狼_may-《百人计划》】1.2.2 矩阵计算
Processing of menu buttons on the left and contents on the right of the background system page, and double scrolling appears on the background system page
熊市下的Coinbase:亏损、裁员、股价暴跌
【TA-霜狼_may-《百人计划》】2.4 传统经验光照模型
【TA-霜狼_may-《百人计划》】1.4 PC手机图形API介绍
【TA-霜狼_may-《百人計劃》】2.3 常用函數介紹
Millet College wechat scanning code login process record and bug resolution
京东智能客服言犀意图体系搭建和意图识别技术介绍
快速筛选打卡时间日期等数据:EXCEL筛选查找某一时间点是否在某一时间段内
Sort linked list (merge sort)
205. 同构字符串
Network metering - application layer
PageObject模式解析及案例