当前位置:网站首页>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
边栏推荐
- 利用DOSBox运行汇编超详细步骤「建议收藏」
- 微信核酸检测预约小程序系统毕业设计毕设(2)小程序功能
- 微信核酸检测预约小程序系统毕业设计毕设(4)开题报告
- Wechat applet video sharing platform system graduation design completion (4) opening report
- [Oracle final review] addition, deletion and modification of tablespaces, tables, constraints, indexes and views
- 【Oracle 期末复习】表空间、表、约束、索引、视图的增删改
- Yingguang MCU development case
- 977. Square of ordered array
- iframe嵌套详解
- 719. Find the distance of the number pair with the smallest K
猜你喜欢
Qt官方示例:Qt Quick Controls - Gallery
Finally detailed explanation
Détends - toi encore! Ces nouveaux étudiants peuvent s'installer directement à Shanghai
Chrome 正式支持 MathML,默认在 Chromium Dev 105 中启用
Editor编辑器扩展在Scene View添加按钮和logo
微信核酸检测预约小程序系统毕业设计毕设(3)后台功能
Embedded ~ introduction
Microsoft LDAP 配置页中输入有效的用户名及密码,microsoft ldap 配置页中输入有效的用户名
A good programmer is worth five ordinary programmers!
Another double non reform exam 408, will it be cold? Software College of Nanchang Aviation University
随机推荐
求求你们,别再刷 Star 了!这跟“爱国”没关系!
Wasserstein slim gain with clipping penalty (wsgain-cp) introduction and code implementation -- missing data filling based on generating countermeasure network
Use dosbox to run the assembly super detailed step "suggestions collection"
Customize a loading instruction
Leetcode 面试题 16.15. 珠玑妙算
win10 卸载cuda
2020 Internet industry terminology
[Northwestern Polytechnic University] information sharing of the first and second postgraduate examinations
Unity learning shader notes [82] black and white processing of enhanced single channel color rendering
Installation tutorial and simple call of Matplotlib
Enter a valid user name and password in the Microsoft LDAP configuration page, and enter a valid user name in the Microsoft LDAP configuration page
RDK仿真实验
567. Arrangement in string
How to download wechat payment certificate (API certificate)
Another double non reform exam 408, will it be cold? Software College of Nanchang Aviation University
微信核酸检测预约小程序系统毕业设计毕设(4)开题报告
515. Find the maximum value in each tree row
Finally detailed explanation
微信小程序视频分享平台系统毕业设计毕设(8)毕业设计论文模板
Remember to use ternary expressions when switching transformations