Skip to main content

All Questions

0 votes
1 answer
27 views

Player is jittering when colliding with a wall

When I move against the wall, the player starts jittering. using UnityEngine; public class Movement2 : MonoBehaviour { [Header("Movement")] public float Speed = 4f; public float ...
Mighty's user avatar
  • 3
0 votes
1 answer
17 views

Understanding Different Behaviors in Unity Rotation Calculation

I have recently begun learning Unity and encountered a perplexing issue. I implemented two different scripts to control the rotation of a GameObject, specifically a ball. In the first script, I ...
Neel Patil's user avatar
1 vote
0 answers
37 views

How to access the mesh of static variable in unity c#?

I have a problem the problem is this how can I access the mesh of the static variable in unity when the variable is in another script and I want to change the mesh in other script if i do not make it ...
Jano Wazir's user avatar
0 votes
2 answers
44 views

My player movement script randomly sends the player in seemingly random directions sometimes

I am new to Unity and the following code is supposed to be a player movement script. Everything works as expected until every now and then, usually when multiple inputs are pressed in succesion, the ...
Jasper Jackson's user avatar
0 votes
0 answers
51 views

Maze in Unity - calculating shortest path and changing material

The problem seems to be that for some reason the ApplyMaterial only goes to the target cell and does not even try to change the materials of the other cells accordingly. I want the solver to find a ...
SpaceNugget's user avatar
0 votes
1 answer
11 views

Unity: Animations Work in Animator Window but Character Freezes in Scene When Switching Animations via Coroutine

using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using Random = UnityEngine.Random; public class CreatureController : MonoBehaviour { public Animator ...
Beliz Yazıcı's user avatar
0 votes
1 answer
23 views

Unable to find settings in assets in Unity XR Development

I am trying to create a AR app using unity, I was following a tutorial in youtube : https://www.youtube.com/watch?v=FJAO6jDYljs I can't find the Settings folder in Assets folder, also there is no ...
Sreenath Kalarickal's user avatar
0 votes
1 answer
34 views

Assistance needed with Error when trying Unity

So I am new to Unity and I am trying a little game. I am getting a few errors; can someone help? using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine; using ...
user avatar
1 vote
0 answers
28 views

making my floppy bird jump animations make my game poses in unity

So I'm working on my first game using unity, it's a simple floppy bird re-creation, I follower a video, but the video didn't include how to animate your characters, thus I wanted to learn how to ...
nada 's user avatar
  • 33
1 vote
0 answers
73 views

Unity 2D top-down movement using rigidbodies

Here is how my scene is designed: Player on top of the lily pad Player can pull pads and when they are close jump onto them. Lily pad is tied to one point using target joint, so whenever player stops ...
d1squit's user avatar
  • 13
-1 votes
1 answer
18 views

How to request permissions to Android in Unity?

I made android unity game, that sometimes working with file system, creating new folder and files, editing those files. When I was testing this on android device, nothing happened with files. I know, ...
Voyduzzz's user avatar
0 votes
0 answers
34 views

Unity InputSystemUIInputModule & EventSystem Loss of Data at OnDrag Behaviour

I am trying to drag an Icon game object. My project is 2D based, and the unity version is 2022.3 LTS The implementation includes a draggable object that as it collides it gets destroyed and in its ...
Nostos Kostas's user avatar
0 votes
1 answer
46 views

How do I make sound in specific locations in Unity 3D?

I wanna make my first horror game, where player, when he goes out of the path, hears a specific sound. I made a "Fence" by using ProBuilder, result is on the first photo. How the map looks ...
Oromyrchik's user avatar
0 votes
0 answers
20 views

How to create a plot tree object with different actions without inheriting (e.g. simple ScriptableObject)?

I need to create a game event with different actions like in Slay the Spire game (see a photo below). The object must contain a list of actions (e.g. give some item to player or else). On choosing ...
nosokvkokose's user avatar
0 votes
0 answers
41 views

I get two errors in this Unity code, but I don't understand why

I get errors on 45,26 51,26. I get this error "RoomManager.OnPlayerLeftRoom(Player): no suitable method found to override". It is a room manager code to spawn and add the player to the room. ...
KingKhong's user avatar

15 30 50 per page
1
2 3 4 5
102