- This topic has 12 replies, 4 voices, and was last updated 6 years, 8 months ago by Yuri Kovelenov.
-
AuthorPosts
-
2018-04-03 at 5:59 pm #3359johngrigniCustomer
I’ve made test apps where if you click on an object, things happen, but for some reason it’s not working in a different app. I wanted it to just enable outlining, or even ‘print to console’ and nothing happens. Is there some ‘clickable’ setting somewhere that I’m missing? Because I’ve done it before and it worked.
2018-04-03 at 6:54 pm #3360johngrigniCustomerHere is the file in question
2018-04-03 at 8:40 pm #3362jemCustomerI have seen this before when the v3d.js engine in the application directory is out of date. This can happen if your application was built in a prior version of Verge3D and moved to a new version. If this is true, there should be an update button in your Verge3D application manager next to the application. You should also open the Blender file an export a fresh gltf/bin in the new version.
Hope this helps,
JemJeremy Wernick
2018-04-03 at 8:43 pm #3363johngrigniCustomerIt was made in v2.2.0, there is no update button, and in the process of testing I exported the gltf file many times.
2018-04-04 at 8:34 am #3365Mikhail LuzyaninStaffIt was made in v2.2.0, there is no update button, and in the process of testing I exported the gltf file many times.
It worked for me when I made a reexport of the gltf file. Have you created this project in v.2.2.0 of the engine or ported it from previews version?
Co-founder and lead graphics specialist at Soft8Soft.
2018-04-04 at 10:36 am #3366johngrigniCustomerNo, it was made in 2.2.0. The weird thing is that it worked before, then stopped working. I’ve restarted the file, the app manager, Blender, and the computer trying to get it to work consistently and failed.
I’m on Mac with Safari, if that matters.2018-04-04 at 11:41 am #3367johngrigniCustomerIf it helps, it doesn’t work in Chrome either, or on my MacBook Pro
2018-04-04 at 12:51 pm #3374Yuri KovelenovStaff2018-04-04 at 12:54 pm #3376johngrigniCustomerJust tried. Got nothing. I’m going to try to rebuild it entirely.
2018-04-04 at 1:38 pm #3377johngrigniCustomerOkay, this might sound counterintuitive, but I was able to get it to work. I had thought that I could make a menu pop up in front of the camera, with a bunch of icons by giving it an animation, and then when you clicked on an object, the animation would play. I parented this to the camera, right in front of the lens, but positioned down below where it would be out of the way.
Deleting this element makes it all work fine. Also, hiding it as the app loads works, then unhiding it, works fine. But for some reason the animation doesn’t work. Is there a better way to create an interface like I’m describing, or is this another Mac mystery? I can live without animated interface, just hiding and unhiding, but I’d rather have it animated.
2018-04-04 at 2:27 pm #3378Yuri KovelenovStaff2018-04-04 at 3:03 pm #3379johngrigniCustomerHere it is
2018-04-04 at 3:48 pm #3383Yuri KovelenovStaffI think I found the reason for animation not working. There is currently a limitation that objects directly parented to the camera cannot be animated. To overcome this, one should use an empty object as a proxy. Attached an example.
Attachments:
You must be logged in to view attached files. -
AuthorPosts
- You must be logged in to reply to this topic.