Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RagePixel Sprites Detecting each other sprites. #17

Open
TheNewb opened this issue May 26, 2012 · 2 comments
Open

RagePixel Sprites Detecting each other sprites. #17

TheNewb opened this issue May 26, 2012 · 2 comments

Comments

@TheNewb
Copy link

TheNewb commented May 26, 2012

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??

@ericraue
Copy link
Collaborator

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.

@TheNewb
Copy link
Author

TheNewb commented May 26, 2012

thanks again m8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants