Moving instantiated objects with variable speed along the same curve (with...
Alright guys, so for some reason I'm having a hard time figuring this out. The basic gist: I have a ton of prefab objects instantiating in the distance (460f Z axis) that move toward the player (at...
View Article2D simple road system with curves and intersections
Hi, I am creating a top-down map travel system for my game and I need a way to create roads on the map that the player avatar/icon can then follow: - Create simple curved roads (nothing fancy, just...
View Article[Question] Move object along curved path toward mouse in 2D, C#
How can I move an object along a curved path toward the mouse position programmatically? I want the boomerang to travel a curved path as its y position decreases, and moves towards the mouse. In this...
View Articlemoving linearly along a bezier curve
Ok so I had an idea for a way of moving linearly along a Bezier curve. I thought that if you plot a graph (in real life) that compares the value of t to the actual length you are along the curve, you...
View ArticleOverwrite DepthNormalsTexture
Hello, i have a problem with vertex offset and SSAO. The problem ground in curving the world, i'm offsetting all vertexes in the vertex part of the shader. But sins DepthNormalsTexture is written...
View ArticleHow to bend train wagon using Hermite Spline Controller in Unity3D 5?
I am making a Train Simulator using Unity3D 5 and i want to bend train wagon smoothly at curved track and back to normal at straight track , how to do it, please help. I am using [Hermite Spline...
View ArticleMaking a character walk on curved surface
Hi, I have a game idea, where I want a player to be able to walk on a certain shape called a mobius band (Sorry I can't attach a picture, please look it up, and you will have a much better idea what I...
View ArticleCurve/Bend Global fog
Any information on how to bend a global fog in a shape of parabola , because I use a shader which bends the world , but global fog goes straight ?
View ArticleDrawing & Moving Along a 2D Curved Path?
I want to create a system in which a player moves along a 2D path drawn by the mouse or on the touchscreen, similar to [Air Control][1]. While a [similar question has already been posted and...
View ArticleCreate a line renderer along a Bezier Curve/ Spline
I am mid level coder, this is the most complicated thing I have done and I feel like it was quite a jump from what I have previously done. I am working on a VR wizard game and one of the spells is...
View ArticleHow to calculate curvature of a path?
Hello, My question is a mathmetical question rather than unity, but while I am trying to calculate it in unity I think it is suitable to ask it in here. I am trying to calculate curvature of path that...
View ArticleHow to make spline and move object along the spline
I'm making a 2d game. I want to make an arrow flying, but I want to fly along the curve as shown below. But I do not know the exact method and ask questions. As shown in the figure below, the curve...
View ArticleHigh speed sliding (ski/sled) from curved slopes in a 2d game.
Hello! I have a problem with getting stable motion of a player sliding fast down the curved slope. The scene is simple: - rectangle with Capsule2D collider, rigidbody with mass of 50 - side view -...
View ArticleRandom 2D Curve Movment
I have a special bullet for my boss and I want to get the bullet to move in curves, but randomly and I'm not really sure how to achieve this. [Example Image][1] Something like that with the 2 coloured...
View ArticleMove Rigidbody along curve
Hi, I've been stuck on this for a little while now. I have made a curve in my scene, and I have 50 locations along the curve. The thing I want to achieve is that my Rigidbody GameObject moves along...
View ArticleHow to apply collision detection to a Circular (round/curvy) Labyrinth
We're using **Unity 2017.30f3** and we're building a labyrinth game. (We are remarkably new users and working on a project to learn Unity) We built the labyrinth using this image: [Rounded labyrinth]...
View ArticleHow to move GameObject or Rigidbody2D in curved path?
![alt text][1]Actually i want the object(attached Rigidbody2d ) to be initiated at the bottom of screen and then follow a parabolic path (generated differently using different angles) and thus hit a...
View ArticleThrow an object following a curve in 2D
Hello, I am trying to create a pong template, with the twist of being able to curve the ball with the paddle. Imagine this classic game: http://www.curveball-game.com but in 2D. Everything in my scene...
View ArticleHow to move player on curved stairs (like the one pro-builder provides)? I...
I don't think Navmesh is helpful in my condition. I want the sphere to move in the forward direction on curved paths. Please help.
View ArticleCurving a Path Around an Obstacle
The concept here is that I would like to generate a path from point A to point B. However, both point A and point B are doors that are connected to separate rooms, and I need to ensure that the path...
View Article