Skip to main content

Questions tagged [beziers]

Parametric smooth curves and surfaces in computer graphics. Bezier curves and surfaces have control points that are used to control their shape. They are frequently used in software for automotive and industrial design.

2 votes
2 answers
38 views

How to ensure smooth animation when making spline longer?

In Unity, I have a Spline that I'm using to move an object. During the game, the player can add new knots to this Spline as the object moves forward. e.g if they want the object to go right, they can ...
kyopa's user avatar
  • 133
0 votes
1 answer
47 views

Is it possible to design character movement system with Bezier Curves?

For context, I'm trying to create a really dynamic and fast character. That can suddenly move slow, fast, zap into places, dash, and hover in place. Say that I want to make a character accelerate a ...
curiousCprogrammer1231's user avatar
0 votes
0 answers
46 views

How to make smooth movement for a tunnel traveling music game?

I'm creating a music game where the player travels inside a tunnel and can create twists and turns while listening to music. Here's a video showing what it currently looks like. I'm looking for advice ...
curiousCprogrammer1231's user avatar
0 votes
0 answers
65 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 ...
Evan C's user avatar
  • 1
1 vote
0 answers
126 views

How to smooth 2D procedurally generated terrain and create a collider from a Tilemap in Unity

I am making a 2D procedurally generated game like Terraria, and I want my terrain to be smooth similar to how games like Hill Climb Racing look. I have a Tilemap that renders my tileSprites and a 2D ...
Jacko_256's user avatar
0 votes
1 answer
142 views

Inconsistent Speed Of A Projectile Traveling On A Bezier Curve

What I'm doing: I'm moving a projectile to it's target along a Bézier curve with one control point. The projectile moves from Transform A to ...
PayasoPrince's user avatar
0 votes
0 answers
64 views

How to change the locomotive status from moving in a spline to moving in the next spline when it meets the next rail?

I want to make a train that can move in a curve. I have downloaded a Train Spline Walker unity package. That package can generate a spline, and the train's locomotive will move in the spline with a ...
Duy Hạnh Trần's user avatar
1 vote
1 answer
132 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 ...
Magikarp's user avatar
0 votes
1 answer
146 views

Determine when object moving along Bezier Curve and an object along a line collide

I have been using the method here to find the intersection between a line and a curve but, I am not too sure how I would go about solving the time for when two objects moving along their respective ...
olie's user avatar
  • 1
0 votes
0 answers
148 views

How to add a sine wave to a quadratic bezier curve?

I have a quadratic bezier curve, i want add a sine wave to it to animate it, simulate the grass animation. Currently i add the sine wave to P2.y and P3.y, but it don't look very nature. How to add the ...
user1535273's user avatar
0 votes
0 answers
87 views

Convert 3 2D-curves to a 3D-curve and How to calculate weight value of the animation curve in Unity?

I have 3 Hermite curves, including a position at the x, y, and z axes controlled by tangent and weight values. I knew that it is a 2D curve. now I can calculate the tangent from 1st derivative, but ...
Hadestrb's user avatar
1 vote
1 answer
54 views

How to insert a new control point on 3D cubic Bézier spline, without deforming current shape?

I have a spline generation system using a cubic Bézier algorithm. I created a tool that splits the spline and adds a new point where the user clicked on the spline, but it causes the spline to deform ...
Cyclone's user avatar
  • 41
2 votes
0 answers
150 views

What is meant by Blender's "Minimum" twist method/how do I correctly calculate bezier curve twists?

I'm working on a bezier curve implementation in Unity. Until recently, I had no need for roll (the objects that followed the curve always stood upright) but I've since added a roll value to each ...
squiddingme's user avatar
3 votes
1 answer
282 views

How to navigate a moving 2d spaceship under newtonian mechanics to a point in space?

I am creating a real-time game where ships move through space using basic laws of motion. The ships move by rotating (instantly for our purposes) to an angle and then firing their engine to accelerate....
Liam D's user avatar
  • 41
1 vote
0 answers
120 views

how can I normalize the speed of a polygon moving over a series of connected quadratic bezier curves with varying lengths?

I am generating a bunch of quadratic curves that are connected together, creating an array of curves, and a function which returns the position on the curve for a given time. ...
patrick's user avatar
  • 209

15 30 50 per page