English Unity3d - Edge

20 replies
Goto Page
To the start Previous 1 2 Next To the start
19.12.16 11:06:30 pm
Up
RedizGaming
GAME BANNED
Offline Off
Hello guys! , well im making a 2d game on unity , but i have one error.

When the player collides with "edge collider 2d" this does not happen, but when arriving at a corner, passes freely. Could you help me ?

Spoiler >


Spoiler >
Never use HACKS/CHEATS , see my status. I used hack 2 times , 1 year ago... i get game banned for be a stupid guy
20.12.16 12:43:14 am
Up
Ishara
User
Offline Off
Don't get me wrong, but you should ask about this on a Unity Forum, not here.
それは とらっぷ です。
20.12.16 12:48:05 am
Up
RedizGaming
GAME BANNED
Offline Off
@user Ishara: I asked in the forum of steam, but, nobody answers anything, my friends also did it and we did not get any answer. That's why I asked auqi
Never use HACKS/CHEATS , see my status. I used hack 2 times , 1 year ago... i get game banned for be a stupid guy
20.12.16 02:15:51 am
Up
Rainoth
Moderator
Offline Off
Honestly, those screenshots don't really tell me anything. For starters, explain what each thing in your screenshots is and what colliders it uses.
20.12.16 02:39:19 am
Up
Jawohl
User
Offline Off
im going to assume you didnt add a collider to the other object?
20.12.16 10:13:38 am
Up
RedizGaming
GAME BANNED
Offline Off
@user Jawohl: @user Rainoth:
there was the problem on a video ->

[url=https://www.youtube.com/watch?v=hBRmJz5DwOI&feature=youtu.be[/url]
edited 1×, last 20.12.16 10:48:26 am
Never use HACKS/CHEATS , see my status. I used hack 2 times , 1 year ago... i get game banned for be a stupid guy
20.12.16 11:24:43 am
Up
Jawohl
User
Offline Off
@user RedizGaming:
link is broken
20.12.16 11:30:55 am
Up
RedizGaming
GAME BANNED
Offline Off
Sorry this video only work, click here
edited 3×, last 20.12.16 01:48:57 pm
Never use HACKS/CHEATS , see my status. I used hack 2 times , 1 year ago... i get game banned for be a stupid guy
20.12.16 01:54:47 pm
Up
Yates
Reviewer
Offline Off
@user RedizGaming: Still not working. Do you even see the video?
20.12.16 02:02:25 pm
Up
RedizGaming
GAME BANNED
Offline Off
Never use HACKS/CHEATS , see my status. I used hack 2 times , 1 year ago... i get game banned for be a stupid guy
20.12.16 02:31:02 pm
Up
Yates
Reviewer
Offline Off
It's not.

If the video is yours check the settings.
20.12.16 05:01:04 pm
Up
RedizGaming
GAME BANNED
Offline Off
@user Yates: now its public.
Never use HACKS/CHEATS , see my status. I used hack 2 times , 1 year ago... i get game banned for be a stupid guy
20.12.16 05:11:19 pm
Up
Yates
Reviewer
Offline Off
Instead of asking at the Steam forums, did you try Unity's actual forum?

https://forum.unity3d.com/

I doubt people here can help you without looking at the actual setup or code. Ask there.
20.12.16 05:44:13 pm
Up
RedizGaming
GAME BANNED
Offline Off
I accidentally put steam instead of unity sorry
Never use HACKS/CHEATS , see my status. I used hack 2 times , 1 year ago... i get game banned for be a stupid guy
20.12.16 05:46:25 pm
Up
Rainoth
Moderator
Offline Off
Have you tried using Physics2D circle collider instead? I don't see why you'd want to use edge colider in this case.
20.12.16 06:05:59 pm
Up
RedizGaming
GAME BANNED
Offline Off
@user Rainoth:
i just use polygon collider on players
EdgeCollider2D on map and some scripts .
but the problem was on the corners.

When the corner of the two "EdgeCollider2D" are together, the player can escape by that corner
Never use HACKS/CHEATS , see my status. I used hack 2 times , 1 year ago... i get game banned for be a stupid guy
20.12.16 07:51:32 pm
Up
Rainoth
Moderator
Offline Off
I'm not asking what you're using. I'm asking why you're NOT using circle colliders when all your graphics are made up of circles.

You wrote "the problem was". So you fixed it? What was the problem then?
20.12.16 10:54:47 pm
Up
Jawohl
User
Offline Off
problem here? your trying to collide an object within an object; why not try to manually place the self draw colliders around the object? should work then
20.12.16 11:51:29 pm
Up
RedizGaming
GAME BANNED
Offline Off
@user Rainoth: sorry , i don't manage correctly the english , i just want to said : the problem IS on the corners of the EdgeCollider2D
Never use HACKS/CHEATS , see my status. I used hack 2 times , 1 year ago... i get game banned for be a stupid guy
21.12.16 12:01:09 am
Up
Mephisto_
User
Offline Off
You could just not use any colliders and just check in your Update method wether the distance (squared) between the player and the center of the circle is greater than the (squared) radius of the circle and if thats the case, resolve your collision.
To the start Previous 1 2 Next To the start