当前位置:网站首页>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
边栏推荐
- Wechat applet video sharing platform system graduation design completion (4) opening report
- Qt官方示例:Qt Quick Controls - Gallery
- Chrome officially supports MathML, which is enabled in chromium dev 105 by default
- Editor Editor Extension add button and logo in scene view
- 微信核酸检测预约小程序系统毕业设计毕设(5)任务书
- 如何开启IDEA的Run Dashboard功能
- Steamos 3.3 beta release, steam deck Chinese keyboard finally came
- QQmlApplicationEngine
- Embedded development board ~ description
- Détends - toi encore! Ces nouveaux étudiants peuvent s'installer directement à Shanghai
猜你喜欢

Remember to use ternary expressions when switching transformations

再放寬!這些應届生,可直接落戶上海

1288_FreeRTOS中vTaskResume()接口以及中断安全版本接口实现分析

QT official example: QT quick controls - Gallery

微信小程序视频分享平台系统毕业设计毕设(2)小程序功能

Steamos 3.3 beta release, steam deck Chinese keyboard finally came

A good programmer is worth five ordinary programmers!

In early summer, Kaiyuan magic changed an electric mosquito racket with killing sound effect!

Nvidia 显卡 Failed to initialize NVML Driver/library version mismatch 错误解决方案

Finally detailed explanation
随机推荐
D构造函数问题
Unity学习shader笔记[八十一]简单的颜色调整后处理(亮度,饱和度,对比度)
Export Excel files using npoi
719. Find the distance of the number pair with the smallest K
人人工势场法
求求你们,别再刷 Star 了!这跟“爱国”没关系!
Please, stop painting star! This has nothing to do with patriotism!
微信核酸检测预约小程序系统毕业设计毕设(5)任务书
面试,关于线程池的那些事
Wechat applet video sharing platform system graduation design completion (7) Interim inspection report
Typescript
Detailed explanation of map set
Qt官方示例:Qt Quick Controls - Gallery
再放寬!這些應届生,可直接落戶上海
利用DOSBox运行汇编超详细步骤「建议收藏」
Vi/vim delete: one line, one character, word, the first character of each line command
Unity learning shader notes [82] black and white processing of enhanced single channel color rendering
515. Find the maximum value in each tree row
vimium映射鍵
C # detect whether the picture is rotated and modified to the true rotation