Questions tagged [curves]
The curves tag has no summary.
68 questions
1
vote
0
answers
68
views
How do I use a Unity unlit Shader to plot a curve with even thickness
I'm new to Unity shaders and I'm using a Unity unlit shader to plot a function of x. For example, y = sin(x). This is very easy with the following code:
...
0
votes
0
answers
216
views
How to efficiently path many objects to a moving point?
Working in 3D in the Godot engine, I have an object that moves through space and, like a tornado, is intended to pick up objects in its path.
What I have right now is janky, effectively re-baking the ...
1
vote
0
answers
46
views
Move a non-convex polygon's outline inwards?
The polygons are small 3D parts of a quasi sphere centered in the origin and a solution that works in the plane can easily be made to work in this world.
I tried to move the outline inwards by using ...
1
vote
1
answer
247
views
Getting coordinates within a bezier space
I have created an object that is comprised of two bezier curves (constructed of an identical finite segments equal to a variable named resolution). The two curves ...
0
votes
1
answer
98
views
How do I find the gradient of a noise value which has been re-evaluated on a curve
I have a function Evaluate(), which is used to remap a noise value based on a curve/spline to make the noise more interesting. There are 3 inputs: the noise value ...
0
votes
1
answer
238
views
Increasing Recoil Over Time With 'Diminishing Returns'
I have a recoil system where per shot, the recoil value increases. I want the recoil to increase more quickly for the first 10 or so shots, then settle to a slower increase rate that then remains ...
0
votes
2
answers
371
views
Why do computer graphics applications use piecewise polynomial curves of degree 3 rather than curves of higher-order, say degree 100?
just wondering why is that? can't get my head around it. wouldn't the use of degree 100 be better? I'm really new to this stuff.
0
votes
1
answer
298
views
Moving object parallel to another on path on 2d space
How to Move object parallel to another on curved path on 2d space
0
votes
1
answer
1k
views
Getting array of points shaping curve from 2 vector3 points
What I want is to get path for DoTween method DoPath(), which as a parameter expects array of vectors shaping the direction of the path. I googled some stuff and found out nothing. Just think bezier ...
1
vote
2
answers
3k
views
How to convert Unreal Engine 4 spline to a bezier curve?
I have read the source code of USplineComponent and found that for a curve in Unreal, the result is calculated via ...
0
votes
1
answer
335
views
curve of animation in C#
I think that the animation curves in Unity lack the fact of being configurable because they are only chosen with a certain type (no sinusoidal function) and adjustable with handles.
How in C # create ...
0
votes
0
answers
274
views
Unity 2D game object moving up in curve?
How can I make a rigidbody2d game object moving up curve like the attached screenshot?
0
votes
1
answer
60
views
SmothStop Function doesn't work as expected
i'm trying to create a smothstop function i need it to control time variable on my lerp function used to move character and so on...what i have is this
...
0
votes
1
answer
477
views
help with shooting projectile along a curve path
so i been trying to find a way to shoot projectiles along a curve path . and i found this tutorial on youtube which was really good.
i also uploaded the project in case you wanted to check it out. ...
1
vote
1
answer
1k
views
Draw trajectory arc predictor in game
I found this tutorial on youtube and it works pretty well, but I want to add more to it.
How can I draw a smooth arc path in the game view (right now the path is only visible in the editor)?
Here ...