RagePixel icon indicating copy to clipboard operation
RagePixel copied to clipboard

RagePixel Sprites Detecting each other sprites.

Open TheNewb opened this issue 12 years ago • 2 comments

i dont know if this was intentional but they dont collide with anything. is it possible for you to make a speciel collider for them??

TheNewb avatar May 26 '12 01:05 TheNewb

RagePixel doesn't come with a physics solution but you can use Unity's built in PhysX or write your own. In the roadmap discussion it was suggested a simple 2D physics system might be a useful feature but who knows if and when it will be implemented.

If you're using PhysX I noticed some problems with sprites clipping through each other. This is because RagePixel uses 1 unit = 1 pixel and PhysX is setup as 1 unit = 1 meter. I found by setting Min Penetration For Penalty to 1 in Edit->Project Settings->Physics and making sure colliders have their Z size set to 10 units works reasonably well.

ericraue avatar May 26 '12 02:05 ericraue

thanks again m8

TheNewb avatar May 26 '12 02:05 TheNewb