当前位置:网站首页>UE4 draw a circle with spline
UE4 draw a circle with spline
2022-07-02 18:24:00 【Where the Tao lies】
Known variables : R: The radius of the circle
PointNum: The number of points ( Include initial point )
StartPoint: The position of the first point
SingleArcLength: The arc length between points
CreateCurrentPointIndex: Index of the current point being created
1. First set the position of the first point , Because the root component is the center of the circle , So just set up X by R
2. After calculating the circumference , Number of passing points , Calculate the arc length between each point
3. Calculate the position of the point to be created by the arc length and the first point
4. Direct formula
effect :
The equation used :
x=√(a²+b²)·sin﹛[c/√(a²+b²)]-arcsin[a/√(a²+b²)]﹜
y=√(a²+b²)·cos﹛[c/√(a²+b²)]-arcsin[a/√(a²+b²)]﹜
The more points, the more correct , Number of general points >=5 when , The circle begins to correct
边栏推荐
- Memory mapping of QT
- D构造函数问题
- Typescript
- Use dosbox to run the assembly super detailed step "suggestions collection"
- Simple understanding of cardinality sorting
- MySQL -- basic operation of database
- Pit encountered during installation of laravel frame
- 如何开启IDEA的Run Dashboard功能
- Typescript
- Leetcode 面试题 17.04. 消失的数字
猜你喜欢
Wechat applet video sharing platform system graduation design (3) background function
自定义一个loading指令
微信小程序视频分享平台系统毕业设计毕设(6)开题答辩PPT
wait_ for_ Gap -- restore archive from primary archive to secondary Archive
[Yugong series] July 2022 go teaching course 001 introduction to go language premise
Leetcode 面试题 16.11. 跳水板
How to download wechat payment certificate (API certificate)
Detailed explanation of map set
RDK simulation experiment
NVIDIA graphics card failed to initialize nvml driver/library version mismatch error solution
随机推荐
Wechat nucleic acid detection and appointment applet system graduation design (3) background function
Wechat nucleic acid detection appointment applet system graduation design completion (5) task statement
C # detect whether the picture is rotated and modified to the true rotation
微信小程序视频分享平台系统毕业设计毕设(3)后台功能
How can you omit a large number of switch statements
微信小程序视频分享平台系统毕业设计毕设(8)毕业设计论文模板
Unity learning shader notes [81] simple color adjustment post-processing (brightness, saturation, contrast)
No such file or directory: ‘/tmp/tmpxxx/tmpxxx. py‘
NM02-独立于总线协议的NM模块调用序列图及代码解释
Finally detailed explanation
Editor编辑器扩展在Scene View添加按钮和logo
微信小程序视频分享平台系统毕业设计毕设(6)开题答辩PPT
面试,关于线程池的那些事
Vimium mapping key
Another double non reform exam 408, will it be cold? Software College of Nanchang Aviation University
架构设计——ID生成器「建议收藏」
ESP32-C3入门教程 问题篇⑩——error: implicit declaration of function ‘esp_blufi_close‘;
em120.gige. h
Microsoft LDAP 配置页中输入有效的用户名及密码,microsoft ldap 配置页中输入有效的用户名
wait_ for_ Gap -- restore archive from primary archive to secondary Archive