A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
I'm trying to make my character fall at constant rate (like flappy bird). The problem with gravity is, that it is an acceleration, therefore...
Hmm I can't seem to make the correct size of this edge. Since it is 16x16 I thought 8x8 would be correct, but nothing works.I guess the width of...
void Update() { timer -= Time.deltaTime; if (Input.GetKey(KeyCode.Return) && timer<0f) {...
I want to place tiles with tilepallete, but I'm having trouble with edges. All sprites are 16x16, planks are 3px wide and 16px long. I don't know...
I have a sword with animator and when I press Return the animation plays (rotation on z from 0->-120->0). I can swap weapons however and if I do...
You are using OnColissionExit (I guess you have a 2D game with 2D collider). Try using OnCollisionExit2D(Collission2D collision)
Yes in FixedUpdate
But I can also hit ground from the front, not only from below, collision would happen and I could jump.
And why is that?
groundCheckPosition = new Vector2(gameObject.transform.position.x, gameObject.transform.position.y - offset); grounded =...
Hm, nevermind Filter Mode was set to Bilinear instead of Point (no filter). Took me way too long...
I'm a total noob when it comes to art and photoshop, I made a pixel art 16x16 pixels, saved it as PNG and draggeed it into Unity. The pixels in...
I guess that the problem is that this object is a child of two other objects, but if I use dontdestroyonload then the whole scene stays the same.
When I click on the button, I want to set some values to a gameobject in another scene and then load that scene. I tried using Gameobject.Find,...
Try this: Vector2 runVector = new Vector2(xInputDirection, playerRigidBody.velocity.y); You were setting y velocity to zero (I'm guessing the...
It would be easier to just create these 3 objects in Unity and enable them when needed.
I've tried Tiled and Tiled2Unity, but I had a lot of troubles with them and they seem pretty old too. Is there anything better to use?
I get this warning when I click on the transition, it has exit time of 0.5, no parameters. I figured out that I get this warning only when the...
Everytime I create a procjet I have folder named Packages with a few packages. I don't need them, how do I remove them from appearing in my projects?
Europe, Slovenia. I go to computer science high school but the best we do is coding console applications with c++ in cideblocks, one hour per week...