평점 만점의 리뷰가 11,000개 이상
8만 5천명 이상의 리뷰
10만명 이상의 포럼 멤버가 선호하는 에셋
유니티에서 모더레이팅하는 모든 에셋
1 - 10 / 36개 표시
사용자 리뷰
정렬 기준
M
SphereCap error fix
3 years ago
MrunangGameBee버전 1.1
The error message "error CS0117: 'Handles' does not contain a definition for 'SphereCap'" occurs because the 'SphereCap' function is not available in the current version of Unity. It has been deprecated since Unity 2019.3 and replaced by 'SphereHandleCap'. Therefore, to fix the error, replace 'SphereCap' with 'SphereHandleCap' on line 47 and 55 of the 'BezierPointEditor.cs' script.
the same goes to CircleCap,CubeCap and RectangleCap.
이 리뷰가 도움이 되었나요?
7
0
X
2021.2+ Handles.xxxCap Error !
4 years ago
XiaoDianna버전 1.1
You need to change
[ Handles.xxxCap --> Handles.xxxHandleCap ]
이 리뷰가 도움이 되었나요?
16
0
E
Just what I needed!!
5 years ago
ElectricWolf버전 1.1
Amazing saved my days of work - this just works as I need. Thanks for sharing.
이 리뷰가 도움이 되었나요?
0
0
All I wanted was a simple quick "create a bezier curve which I can edit" script. This does exactly that.
I had to "fix" some deprecation warnings in Unity 2019.4 LTS but then it did what it should.
It contains at least one bug in GetPointAt() for curves with only 2 points and small segmentation. Fix it by adding this to it:
public Vector3 GetPointAt(float t)
{
if (points.Length == 2)
{
return GetPoint(points[0], points[1], t);
}
...
If you want to segmentize the curve then this may come in handy:
public List<Vector3> GetSegmentPoints(float size = 0.1f, int resolution = 100)
{
List<Vector3> segmentPoints = new List<Vector3>();
float sqrSize = size * size;
Vector3 current = points[0].position;
Vector3 candidate0 = points[0].position;
Vector3 candidate1;
segmentPoints.Add(current);
for (int i = 1; i <= resolution; i++)
{
candidate1 = GetPointAt(i / (float)resolution);
if (Vector3.SqrMagnitude(candidate1-current) >= sqrSize)
{
current = candidate0;
segmentPoints.Add(current);
}
candidate0 = candidate1;
}
float missing = Vector3.Magnitude(candidate0 - current) / size;
if(missing < 0.5f)
{
// stretch
segmentPoints[segmentPoints.Count - 1] = points[points.Length - 1].position;
}
else
{
// add final segment
segmentPoints.Add(points[points.Length - 1].position);
}
return segmentPoints;
}
이 리뷰가 도움이 되었나요?
4
0
N
Nice and simple asset for bezier curves
6 years ago
Numix-Jeff버전 1.1
Very nice to use and implement for our custom needs.
An update for latest versions of Unity would be appreciated as there are depreciated codes in unity 2019 concerning undos and gizmos. I hope you will do it :)
이 리뷰가 도움이 되었나요?
2
0
G
Works fine... Sometimes
6 years ago
GodlikeAurora버전 1.1
Timesaver tool, and it is free, but there no documentation about coding part (maybe code comments can be used as it, but it waste of time, which should be saved by using this asset), and a lot of strange null reference exceptions in basic usage of this tool (in GetPoint method, for example), so I can't recommend to use it in your project, maybe better be to use alternative free tool.
이 리뷰가 도움이 되었나요?
0
0
t
Does not work with latest Unity but I have a fix for that, where can I issue a pull request?
6 years ago
trancesilken버전 1.1
Really, guys, make this public, on GitHub, so that I can provide you with a pull request to make it work with 2019.2+.
이 리뷰가 도움이 되었나요?
5
0
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members