First of all, let me say that I have went through all the relevant examples in wikitude samples, including 3Dmodelatgeolocation, solarsystem and all. But the onclick event in my code is not working. The coin animation is running successfully. and the onLoaded is triggered.
I have attached the script.
I tried attaching the onClick to geoobject as well as model, but it doesnt seem to work.
Hello? Anything up with the samples that I sent lately?
Anything here yet?
I don't know what's wrong at your side, but this seems to be working quite well for me, except the onClick and the modelAnimation.
I have eliminated all the non-essential codes and has attached an optimized AR experience that I am currently running in my phone now. GIve it a few seconds for the 3D model of coin to load. I am using relative location and you should see the coin within a few seconds. The onClick as well as modelAnimation is not working, Please check. I have sent passwrod by email to you. I am so close to a beta release and this is the single thing is preventing me from getting this project past the beta phase.
The directory structure of the following attachment is ../experince/core/index.html
Thanks in advance.
Hello? Anything yet?
Here is the AR experience. Password is sent via email to the support.
Hello. In case you have forgotten, nothing yet?
I have replied to the query via email and I have sent the password for the archive in that mail(security reasons) and I have attached the zip which contains the index.html and the entire AR experience. The locations will be fed from the server, but I have set up a randomized relativelocation for each time a marker is created, so the experience can be recreated in your office. The problems noted were are as of follows.
1. The onClick trigger associated with each model is not working.
2. The coin animation is not working. (which is defined inside the onLoaded of the model)
3. In my real usecase, all my 3D objects has unique IDs associated with them so that it's onfieldView can be tracked in the server via an AJAX , everytime the model is loaded on the screen. The behavious is unpredictable when their are multiple models with multiple IDs on the screen. (I thought this has to do with the "this" keywork)
Thanks and regards
Yeah the documentation you have provided does say how to create a model. But however, It is presented in such as way as to make the model work. It is presented as a standalone functionality. It doesn't pretty much handle the scenario when there are multiple ARobjects on screen, multiple image drawables, 3D models and all, fed into the marker file from a server side script, properly through another gateway JS file, in which, the "World" is actually declared. It is true that 3D models can be clicked and played around in your sample, but in real world, it doesn't work like that. I have been developing your app on your platform for around an year now and I really want to buy the license, but atleast either provide support to handle real-life Gamified AR usecases instead of always pointing to a documentation that is implemented way, way away from an actual usecase.
Please understand. I have tried every way. I have raped the entire relevant samples. Just creating a code that work on a sample app doesn't matter. I need the app to work in a real life, real world scenario.
And Also, yesterday I ran into an issue of animations not working properly when there are multiple 3D models on screen. When it is a single animation, it works pretty, well. But as I am creating an AR game, this requires multiple animated models to be loaded into the view at once and the animations just don't work that way.
FYI, I am using a reloadingcontent.js file as a gateway(where I have declared the "world") and marker.js file that creates the markers. The reloadingcontent.js file is the one that communicates with the server.
I have gone through the entire documentation. Please don't direct me to one again. Please review my code.