I’m trying to make A * pathfinding algorithm however I’m stuck as it doesn’t work as expected gets stuck on walls and so on I don’t know what’s wrong
I tried to filter unsearched but the same nodes keep on being add and keeps on going back to the same positions
I expect it to find the correct path to the target
but the enemy just gets stuck on a wall
also the input is just for testing purposes as I wanted to use a while but it would get stuck in infinite loops as well as the start position when the path is not found
I’m trying to make A * pathfinding algorithm however I’m stuck as it doesn’t work as expected gets stuck on walls and so on I don’t know what’s wrong
I tried to filter unsearched but the same nodes keep on being add and keeps on going back to the same positions
I expect it to find the correct path to the target
but the enemy just gets stuck on a wall
also the input is just for testing purposes as I wanted to use a while but it would get stuck in infinite loops as well as the start position when the path is not found
Unity AddCrypto in CryptoText || 3D GAME Unity
https://i.imgur.com/i5saoOs.mp4
Working on a 3D audio visualizer project (Unity) and I can’t convert Vec3 to Float, what am I doing wrong?
Noob here… I am working with a c# script in Unity which was originally written to scale an object on 2 separate axes (X/Z) using 2 separate variables (based on audio input). The change I am trying to make is to have that object scale in all axes uniformly.
Mouse controls inverted when player is upside down (Unity)
I am creating a space game in which the player can be fully rotated, axis independent. No up or down. However, whenever the player is upside down, the mouse controls are inverted. Here is the current code:
Why is my transform.forward movement code not working well? [closed]
Closed 9 mins ago.
porque mi codigo de movimiento transform.forward no funciona bien?
estoy programando un juego de tanques en unity, y estoy tratando de hacer que el tanque se mueva en la direccion en la que esta apuntando la flecha azul (adelante) pero al final se termina moviendo de una manera extraña, si giro el tanque hacia la derecha, y le doy hacia adelante, se va hacia atras, y asi pasan muchas cosas raras, no se mueve hacia adelante sino hacia una direccion que ni yo entiendo, mi codigo:
Unity C# Player movement like Mario 3D burn by fire
I’m actually curious what exactly it would take to create a movement (working with a Character Controller) like that of Super Mario 64 when he is hit by fire.
Detect amount of enemies in Gizmo circle unity
i want to try to detect how many enemies i have in the hitEnemies Collider
(unity)i can’t make the camera move around a 3d sphere player while it follows it
I’m creating a 3d game in unity , where basically the player is a sphere ,the problem is that I can’t find the solution to make the camera follow the player and whenever I press a certain buttons such as (k,l) the camera will move around the player, however , everything works smoothly separately ,but when i try to put them both(the rotating and the following ) either only the following works or the camera is not moveing but can be rotatable .
I don’t have a certain code to put here,as i tried many and nothing worked , so please help