当前位置:网站首页>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
边栏推荐
- Laravel框架安装时遇到的坑
- Microsoft LDAP 配置页中输入有效的用户名及密码,microsoft ldap 配置页中输入有效的用户名
- 1288_FreeRTOS中vTaskResume()接口以及中断安全版本接口实现分析
- [golang | grpc] generate certificates using OpenSSL
- Vimium mapping key
- 面试,关于线程池的那些事
- NVIDIA graphics card failed to initialize nvml driver/library version mismatch error solution
- RDK simulation experiment
- Typescript
- C# 检测图片是否被旋转并修改到正真的旋转
猜你喜欢

微信小程序视频分享平台系统毕业设计毕设(1)开发概要

How to download wechat payment certificate (API certificate)

Deep understanding of ThreadLocal

Finally detailed explanation

微信小程序视频分享平台系统毕业设计毕设(8)毕业设计论文模板

微信核酸检测预约小程序系统毕业设计毕设(4)开题报告

1288_ Implementation analysis of vtask resume() interface and interrupt Security version interface in FreeRTOS

NVIDIA graphics card failed to initialize nvml driver/library version mismatch error solution

MySQL -- basic operation of database

Qt官方示例:Qt Quick Controls - Gallery
随机推荐
Another double non reform exam 408, will it be cold? Software College of Nanchang Aviation University
又一所双非改考408,会爆冷么?南昌航空大学软件学院
Microsoft LDAP 配置页中输入有效的用户名及密码,microsoft ldap 配置页中输入有效的用户名
D constructor problem
【Oracle 期末复习】表空间、表、约束、索引、视图的增删改
Calculation of favorable comment rate
1.5.1版本官方docker镜像运行容器,能设置使用 mysql 8驱动吗?
D构造函数问题
Iframe nesting details
Is Guojin securities a state-owned enterprise? Is it safe to open an account in Guojin securities?
Customize a loading instruction
Leetcode 面试题 17.04. 消失的数字
MySQL advanced - transaction and index
Typescript
Summary of fun free GM games
Vimium mapping key
Wechat applet video sharing platform system graduation design (3) background function
人人工势场法
求求你们,别再刷 Star 了!这跟“爱国”没关系!
MySQL安装与配置