Skip to main content

Questions tagged [path]

Filter by
Sorted by
Tagged with
0 votes
0 answers
217 views

Godot Version 4.3 Question how to generate Path-3d procedurally and avoid it intersecting with PhysicsBody3D. This 3d-path will connect two StaticBody3D. The start and end points of Path3D point ...
fqs's user avatar
  • 1
1 vote
1 answer
210 views

I'm currently working on a game and I'm hung up on this particular issue. I have a ball that is a RigidBody. The RigidBody is ...
Lewis Cianci's user avatar
0 votes
1 answer
144 views

my path3d node is several meters away from the global position.My transform are not changed from their base setting. Code: ...
NEWBIE's user avatar
  • 23
1 vote
0 answers
80 views

I am using the Bézier Path Creator to create paths for an object. The idea is that I have a matrix of arrays like this this: [time,X,Y,Z] The objective is to ...
Alejandro's user avatar
0 votes
1 answer
401 views

I've been trying to make an algorithm to procedurally generate a path from a tile map attached below. I'm just looking for a method to go about doing this. EDIT: I want to make a path for a tile map ...
Daniel Kharis's user avatar
1 vote
1 answer
573 views

The idea is to generate a path with a certain distance m. Currently the generation pseudo code is as follows: ...
EEAH's user avatar
  • 113
2 votes
0 answers
111 views

I am looking for some input on how to realize a feature I would like to build into my game. (Not technical implementation, just what kind of mathematical models or algorithms would fit my situation ...
AngryTriangleCola's user avatar
2 votes
1 answer
2k views

I'm trying to generate a random path on a 2D grid given that: The width and height of the grid are given The length of the path to generate is given The path can't move "back" The path ...
Oro Portaluri's user avatar
0 votes
0 answers
988 views

Is it possible to load a material from a file path? Or, otherwise parse a .mat file saved on disk to a Material usable at runtime? I had naively thought it would be possible to assign the bytes from a ...
ina's user avatar
  • 294
0 votes
1 answer
298 views

How to Move object parallel to another on curved path on 2d space
0.0's user avatar
  • 1
0 votes
1 answer
452 views

i am experiencing some problem here , i have a path : "/folder/folderagain/file.xml" i tried to use Directory.CreateDirectory() to create all folder (in case one of them is missing) and then reuse ...
i'm ashamed with what i asked's user avatar
0 votes
0 answers
438 views

Currently I am working on a quick game for some friends, but I don't know the proper name for this type of game, so here is an example of the mechanic in The Lion King II: To unlock the exit, you need ...
CraftyMaelyss's user avatar
0 votes
0 answers
129 views

I'm making a rollercoaster tycoon type game. As the title says, I need to get the id of an object that created a path point. These points are currently greated by the rail pieces. I need this because ...
Toby van der Veer's user avatar
0 votes
1 answer
87 views

I am using Android studio (libGDX), and I can't figure out why alternative paths doesn't work. I've tried it as it said in the book, but it doesn't do anything, it shows a black window and than the ...
Düsüngülü Tibor's user avatar
1 vote
1 answer
191 views

I want to create a polyline which should be quite smooth for my game. A point is following moving on the line, but can accelerate/brake and has to get slower in corners. In the end I want to set up ...
Standard's user avatar
  • 495
0 votes
1 answer
80 views

I have a problem to code the path of a projectile from a gun as it moves forward and upward. This needs to be done in p5.js. Although the Angry Birds method has been tried by me, I am looking for a ...
mohan's user avatar
  • 1
2 votes
3 answers
515 views

I'm developing a little game for fun and I wrote a pathfinding system based on the A* algorithm. What is the best or correct way to deal with unavailable paths? A* by default will go through every ...
olawrdhalpme's user avatar
0 votes
1 answer
122 views

See the following situation: The first car has a speed of 10 pixels per second and completes one lap in a circuit in 84 seconds. I want the ...
Boneco Sinforoso's user avatar
0 votes
2 answers
197 views

In the room there are 22 cars. All cars have a different speed. The cars are numbered from 1 to 22 with the help of the variable carNumber. CODE - obj_Car / Set car speed (Create Event): ...
Boneco Sinforoso's user avatar
0 votes
1 answer
55 views

I have an adm object, which draws the path in the room like this (Object ADM - Draw Event): ...
Boneco Sinforoso's user avatar
0 votes
2 answers
117 views

Think of 22 cars running in circuit. I can sort them based on the order they reach the finish line. I start to have problems, because over time, the faster cars start to reach the slower cars. ...
Boneco Sinforoso's user avatar
0 votes
2 answers
675 views

I have a game where objects follow a path that resembles a circuit (f1, nascar, stock car). Using the draw_path function, I can draw the circuit on the game screen: It turns out that dash got too ...
Boneco Sinforoso's user avatar
0 votes
2 answers
4k views

I'm having trouble trying to get a projectile thrown by a tower to hit the player quickly. See the image below: The projectile hits the ground very close to where the player was. If the player did ...
Boneco Sinforoso's user avatar
0 votes
1 answer
2k views

Alright, so I've run into a problem where when trying to find a path that you cannot reach because it is blocked, it will continually loop and loop and loop (the 'open' list is ALWAYS filled). I ...
Albert Beaupre's user avatar
0 votes
2 answers
4k views

I have a 2D game and my goal is to make a car follow a path (the road in the picture) and rotate in the same time. I tried a plugin in the assets store but it didn't work well for me and i had ...
Seif Karoui's user avatar
1 vote
2 answers
3k views

I'm currently involved in a college assignment where we must create a game with our own game engine. In my game, we have an enemy moving around with paths constructed with a A* algorithm. Every frame ...
nunesgrf's user avatar
0 votes
1 answer
95 views

I have a project where it has 1 NPC and 3 target points: In the project I set the NPC to go to target point 1, then to 2, then to 3. Expected path: Path that is occurring: This problem did not happen ...
Boneco Sinforoso's user avatar
0 votes
2 answers
3k views

I have a project where I have 1 character (playable) and 2 NPC's (AI). The NPC's are programmed to meet 2 target points. Below is an image to facilitate understanding: As you can see, this green ...
Boneco Sinforoso's user avatar
0 votes
1 answer
652 views

I would like to make some sort of this simulation below, where user can interact with the white rod and drag it into the magnetic fields, which in resulting the blue line that represent the magnetic ...
Mira's user avatar
  • 139
4 votes
1 answer
4k views

I need to find a path with required length in the NxN matrix without loops and deadlocks. For example: We Have a grid 7x7 (49 blocks in total) with START (orange) point. We need to build random ...
Артем Носов's user avatar
0 votes
0 answers
138 views

I have the below play area and I have 4 terrain materials defined in a material and attached to the terrain. What I want to achieve is a way to use a blueprint to expose the pathway layer through the ...
The Gugaru's user avatar
1 vote
2 answers
832 views

I'm trying to find an elegant solution to calculating the x, y values of hexes that are crossed or intersected by a line or ray at a given angle from a given hex position on a hex grid. I do not want ...
jpwrunyan's user avatar
  • 111
4 votes
3 answers
1k views

For the GitHub Game Off Jam, I plan to create a small game with a boomerang. But I don't know how to build the equation that will update the boomerang position. I try to build a direction vector and ...
dwursteisen's user avatar
0 votes
1 answer
3k views

I have a set of pre-determined destinations. When the user chooses any one of those destinations, the path to the destination should be drawn, similiar to google maps. I am trying to do this in unity, ...
azemda's user avatar
  • 128
1 vote
2 answers
2k views

I'm using Unity C#. How would I create the effect in my pool game, a line showing the direction of the second (not white) ball after collision. Example: I need to make the line coming from the ball ...
John Smith's user avatar
  • 1,255
1 vote
1 answer
119 views

I am looking for some help on what would be the best approach to create a path from one point in a grid to the other side. Imagine a grid of 5 x 5, where at (0,1) there is a light source pointing ...
Steve's user avatar
  • 11
0 votes
1 answer
162 views

How can I check if a player has traced a closed vector shape from an arbitrary starting point all the way around to the beginning? Setup Given are the vector points A through E, which form a closed ...
Xarbrough's user avatar
  • 121
0 votes
1 answer
5k views

I want to know how I can make this game object follow the specified path in unity
ABE_Mark45's user avatar
0 votes
3 answers
380 views

I've been looking around and it appears suggestions are only to store data to UserPrefs, or PersistentDataPath. I intend to have map files streamed to the client on demand, and saved for reuse. ...
Dean's user avatar
  • 1
4 votes
1 answer
516 views

I want to create a world map similar to the type that Mario 3 on NES uses where Mario can walk between levels (nodes?) by pressing up, down, left and right on the controller, and Mario can only pass ...
Daniel_1985's user avatar
3 votes
1 answer
1k views

I recently restarted on my long time game development project and had a few questions about how to improve my games AI. I am a little stuck on the best way to implement my Enemy path finding when ...
David Sleep's user avatar
1 vote
0 answers
84 views

I am working on a project, where the main player anim is in circular motion with respect to a center point. This video shows what I have done to the anim till now. In that video, there are multiple ...
Vikneshtk's user avatar
3 votes
2 answers
752 views

For the moment I have an AI car, that follows points (let's call this Waypoints), that I built by myself. Of course, it's not optimal because of my poor human hand, and car knowledge. After this ...
Pingu's user avatar
  • 33
7 votes
2 answers
372 views

I am writing a game in java which has a bike riding down a road. I intend to add some obstacles on the road which are structures having a slope, which the biker must negotiate. In other words, the ...
Bloke's user avatar
  • 101
3 votes
1 answer
922 views

Usually you need path finding algorithms to find one or the best path between two points. Do you know if path finding algorithm where you don't know the destination point exists? I have a graph made ...
lvictorino's user avatar
  • 2,624
4 votes
1 answer
102 views

We have a 3d model. There is a simple path on that model's surface graph G of the form: ...
AturSams's user avatar
  • 10.6k
2 votes
2 answers
353 views

I'm using libgdx Follow Path Steering Behavior in my top-down game. When unit reaches the end of the path, it goes to the start (not directly, but following path), then to the end and so on. How to ...
Andrei Yusupau's user avatar
2 votes
1 answer
731 views

I'm developing top-down rpg game and got some problems using https://libgdx.badlogicgames.com/gdx-ai/docs/com/badlogic/gdx/ai/steer/behaviors/FollowPath.html I have a path (picture 1), in this case 2 ...
Andrei Yusupau's user avatar
2 votes
1 answer
239 views

For, hours, I've been following these instructions. ...
Lucien's user avatar
  • 1,186
2 votes
1 answer
193 views

I'm developing a game in Unity. It's a simple game where the rocket has to reach the point where the player touches on the screen. The movement of the rocket is physics based. When the rocket goes off ...
Jaspreet Singh's user avatar