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

Raycaster with linerenderer from controller #1

Open
ilariadinardo3 opened this issue Mar 16, 2021 · 3 comments
Open

Raycaster with linerenderer from controller #1

ilariadinardo3 opened this issue Mar 16, 2021 · 3 comments

Comments

@ilariadinardo3
Copy link

To open the door for change scene, is it possible do it with raycaster and trigger enter? I need to do this with the controller pointer, but i can't do it. Can you help me?

@SoundGuy
Copy link
Owner

@De-Panther , what do you think?

@De-Panther
Copy link
Collaborator

As you can see in the project, we use a Camera component in the pose of the controller, to work with Unity's EventSystem.
I guess you can add PhysicsRaycaster to the GameObject with the Camera, and it'll be able to interact with 3D colliders in the scene.

@ilariadinardo3
Copy link
Author

I managed to do everything I needed, thanks.
I have another question, is it possible to make the "hit point" or the raycaster work with the left and right camera in the smartphone? I have a deadline tomorrow and only now i discovered this problem

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

3 participants