Quantcast
Channel: Questions in topic: "curved path"
Browsing latest articles
Browse All 116 View Live
↧

Making 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 Article


Curve/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 Article


Drawing & 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 Article

Create 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 Article

How 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 Article


How 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 Article

High 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 Article

Random 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 Article


Move 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 Article


How 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 Article

How 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 Article

Throw 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 Article

How 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 Article


Curving 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

Thread Modes Spawn Objects of differing lengths uniformly along a Spline

I need to figure out how to spawn objects (in this case vehicles) that are of different lengths with uniform spacing along a spline (in this case representing a road). I'm having a lot of trouble...

View Article


How to create 360 curved text?

Hello all I need to have a sentence surrounding the player, how should I approach this? Let me tell you what I've tried already: Text mesh pro - no results Curvy - no results (good for 2d circle only)...

View Article

moving forward after bazier curve

hello. actually I have this script, i'm able to turn in a bazier curve, but a cube can't continue moving in the direction where it is facing... someone can tell me what i'm doing wrong? i'm also...

View Article


Get the distance covered from a curve line?

Sorry for the newbie question. I want to create a curve way point line that the player will travel or move to by dragging, my question is how to know the total distance covered by the player based on...

View Article

Train spawn on curved path

Hello, my curved path consists of hundreds of points in one array. Spawn one car is no problem but if I want to spawn train consisting of 10 wagons, how can I do this. How to find position for 10...

View Article

Complex Enemy follow AI

I am trying to make a top down shooter with very basic enemies that only move towards the player at all times. When I implemented a very basic follow script it worked alright but the enemies would just...

View Article

help with shooting projectile along a curve path

hey guys, 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. here (https://www.youtube.com/watch?v=IvT8hjy6q4o) i also...

View Article


Rotating animation at the same speed

hello, So I have a circle that I want to rotate, I already animated it to go from 0 to -360 but the problem is that unity makes it smooth and so the animation picks up speed at the start being the...

View Article


Make an object follow a curve

I'm working on a new project and in the scene, I'm trying to make a vehicle follow a road path I've created. I've tried animation curves among other things but I can't get a proper smooth curve that...

View Article

shoot a projectile on a curved path ?

the result i want is similar to angry birds but from top view camera and no gravity would be included , or more like Knife Hit game except i want to shoot the projectile either straight , right curve...

View Article

How to create a random generated racing game track with walls on the side?

Hello there! I am creating a racing game with AI trained with Unity machine learning agents toolkit. The agents work well on three tracks I have created, now I would like to try the agent on a random...

View Article


I need to make a bullet prefab follow a set path(bezier angle) on an...

i have a mortor tower that will shoot a bullet in a curve, and to do this i am trying to make it follow a bezier curve drawn by a line renderer, but it is either falling off the map, or is going to the...

View Article

I can't figure out the correct formula of t (bezier curve)

As in the title, I can figure out the formula of ***float T***. The idea is that the camera follows the target and is always parallel to it, but also want the camera respects the curve. I know T is...

View Article

Rolling ball obstacle on a half pipe at a constant speed

Hi, I'm new to Unity and there is a game I'm making where i have a half pipe with a falling ball from end to end that acts as an obstacle for the player. I was wondering how to make it maintain its...

View Article

How to create curved canvas?

I tried to put canvas inside a sphere, but it is still flat, there is no way to curve it... I tried in several ways and there is no solution for this on the internet

View Article



What's the formula for filling gaps between control points on the outside...

I've got a control point-based car physics model. Vector3 pointVec = state.nextSubPoint.transform.InverseTransformVector (transform.position - state.nextSubPoint.transform.position); Vector3 pointVec2...

View Article
Browsing latest articles
Browse All 116 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>