Collider 2D - Official Unity Tutorial

preview_player
Показать описание
Watch this video in context on Unity's learning pages here -

A Collider 2D component is used to define the physical shape of an object in the scene and can participate in 2D collisions and trigger events.

Help us caption & translate this video!

Рекомендации по теме
Комментарии
Автор

Please see the information linked below. Enough! You said that 1 Million times. We'll already look to description if we need some more information :)

tolgad
Автор

For more information on colliders andd the messages sent by colliders
please see the information linked

julicz
Автор

Oh! I need to use the edge collider. I'm getting somewhere now!

microman
Автор

bro really just saved me and my team from a mental breakdown 10/10

skyb.
Автор

Is there a way to make the edge collider visible in the final game (not with just gizmo on)?
I would like to draw levels completely with the edge collider itself without importing a graphic.

captn_hanky
Автор

what i need to know is
one collider seems to be infront of another when using raycast onto 2d colliders
basicly i have a ship which has weapons
i want to be able to select the ship when i click on it but i hit the weapon instead
but i dont know why and if i disable the weapon i hit the ship
the problem is the weapon needs the collider to detect if an enemy shipcomes into range to fire

pfpever
Автор

Any recommendations for this kind of thing in 3d context? But FWIW this is awesome, and especially since it's free

dissonantprotean
Автор

Why don't we attach Physics Material to Rigidbody instead of the Collider component? I mean, Why Unity decided to push physic material in Collider component? Because some colliders aren't going to move like a platform. So I don't think you need physics material for that.

offchan
Автор

Can you disable colliders in certain direction? For example a character trespasses a platform from below to stand over it.

juanp
Автор

Even when I add box collider they just fall through help pls

gamerkingboss
Автор

How would I change the controls? I'm wanting to use the number pad to move one of my players

RichardCheshire
Автор

How to brake the Wheel in unity 2D ? the brakeTorque doesn't work in Rigidbody2D.

tomtatlichsu
Автор

well Unity5 cannot do anything about that Physics2D :(
I set it friction to 999, bounciness to 0 but still circle collider ends up jumping

berkcan
Автор

the 'isTrigger' property must be more explicit in the documentations! it doesn't say anything about this not participating in collisions!!! I spent hours just to make player's movement work and many people have the same issue just due to the fact of poor documentation about this properties and details!

brunoody
Автор

Hey Unity Please Help Me Its Not Working When i Use The Player To Go To The Floor He Go In It Please Help Me

nohmahmoud
Автор

hi.. i have a question, if i have two 2D colliders in one object(box collider 2D and circle collider 2D), how i can know which of these ones are colliding with antother one?

domoify
Автор

can you create colliders without sprites. in the video you show an example of the physics that the collider use by creating collliders all o there own. having never used unity how do i do that so i cant get better acquainted with the system quickly. p.s is it possible to create a game without the sprites to figure out if the idea can work before spending all that time in Photoshop

ketanichiwala
Автор

It's awesome ..but I really need help cause something came up and I'm really frustrated...I have made all the colliders as mentioned in the video but still, my player(ball) falls out of the area...Meaning no collision...Please if anyone has the solution for this please do

amandixit
Автор

Is there a video that shows how to make an object like your balls to spawn/respawn?

GlassOfMilkAtAM
Автор

WOW, NICE VIDEO, very cool and useful

ngjiunkaicat