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.
wait a minute, if creat a new variable and name it different than "grounded" (ex: isGrounded), is work like a charm. I must be missing something....
I use this grounded = Physics2D.Raycast(transform.position, Vector2.down, halfPlayerLengthVertical + 0.2f, 1 <<...
Thank you Laperen, seems like a simple and nice way to check if player is grounded. But somehow my player is still grounded all the time.
Hi community! I'm working on a code to check if player is grounded by using Raycasthit2d. However, the value I always get is grounded = true....
Now i have unity 5.4.0b11, i still don't have drawmode on my inspector. Please help!
Hi community! I'm trying to program the enemy's AI. My point is to calculate the distance from the enemy to the nearest wall by using...
Thank you so much!
Hi guys! I'm wondering are there a way to instantiate multiple prefabs in one frame? void Start () { Instantiate(eBox, new...