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

Whole tile OneWayPlatform? #26

Closed
aidinzolghadr opened this issue Aug 18, 2014 · 2 comments
Closed

Whole tile OneWayPlatform? #26

aidinzolghadr opened this issue Aug 18, 2014 · 2 comments

Comments

@aidinzolghadr
Copy link

Hi,

Currently in order to have OneWayPlatforms we should have 2D edge collders on an object but I'm making a retro platformer with a tool that lets me "draw" the tiles and it would be great if I could just set layer for the tiles I want to behave like OneWayPlatform and the would act this way.

So is there a way to have OneWayPlatform with normal box 2d colliders rather than 2d edge collider?

Thanks

@prime31
Copy link
Owner

prime31 commented Aug 18, 2014

There is no way built in. You would need to write your own custom code to deal with the thicker box colliders or modify your painting tool to use edge colliders.

Mike

On Aug 17, 2014, at 5:01 PM, aidinzolghadr notifications@github.com wrote:

Hi,

Currently in order to have OneWayPlatforms we should have 2D edge collders on an object but I'm making a retro platformer with a tool that lets me "draw" the tiles and it would be great if I could just set layer for the tiles I want to behave like OneWayPlatform and the would act this way.

So is there a way to have OneWayPlatform with normal box 2d colliders rather than 2d edge collider?

Thanks


Reply to this email directly or view it on GitHub.

@aidinzolghadr
Copy link
Author

Would you please elaborate more on how can I do this?

Thanks in advance.

@prime31 prime31 closed this as completed Oct 10, 2016
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