Playmaker Forum

PlayMaker Help & Tips => VR Help => Topic started by: georgep4 on August 30, 2018, 07:55:22 AM

Title: VR Point Click & Move Nav Mesh
Post by: georgep4 on August 30, 2018, 07:55:22 AM
I recently completed a tutorial by Dumb Game Dev(very good instruction).

Instead of mouse click events, I switched it to Pointer Click. It works great on the computer. Click the box and then click ground, the box moves to the clicked point. However, when built an APK for android, it sort of works...I click the box and then click the ground the box moves but in a random direction like it's not recognizing the Raycast to the navmesh

DGD Tutorial

Title: Re: VR Point Click & Move Nav Mesh
Post by: georgep4 on August 30, 2018, 10:22:00 AM
I have found the issue with my Pointer Click in the APK...I am still using Mouse Pick...No wonder it works on the computer and not on the phone.

Is there an Action that will use Fire1 to get the Ray distance, store point and use the Layer Mask?
Title: Re: VR Point Click & Move Nav Mesh
Post by: djaydino on August 30, 2018, 11:28:38 AM
Hi.
You can use get button actions.

and then get raycast hit info.
Title: Re: VR Point Click & Move Nav Mesh
Post by: tcmeric on August 31, 2018, 03:04:06 AM
Hi,

Don't forget you can join us on the (unofficial) playmaker slack chat channel. There are dozens of us there that are working on VR projects. I am there myself daily.

https://invite-playmaker-slack.herokuapp.com

Sincerely,

Eric