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

Los event trigger in 2D #9

Closed
bazuker opened this issue Mar 3, 2016 · 1 comment
Closed

Los event trigger in 2D #9

bazuker opened this issue Mar 3, 2016 · 1 comment

Comments

@bazuker
Copy link

bazuker commented Mar 3, 2016

Triggers do not really work in 2D mode. I was not able to use LOS event trigger in 2D physics mode. It basically does not recognize the event. Triggers only works with 3D physics. I really need to use 2D physics system. Any suggestions?

@dillyo09
Copy link

In the LOSEventSource you would want to change the RaycastHit to a RaycastHit2D in the process method.

@bazuker bazuker closed this as completed Oct 18, 2017
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