Jump to content

Babylon animation. Bugs on smartphone


hit2501
 Share

Recommended Posts

Hi, I did a basic animation with Babylon.js (arcrotatecamera) that retrieves data from a mysql database and according to that shows two paths (red and blue) of a ball and its possible to rotate the camera with mouse:

Online: http://162.144.212.53/~umpee/simulation.html

On video: https://www.youtube.com/watch?v=DXyVNRnZWFE

I saw that the animation works fine on desktop browsers but when I try to check it on mobile phone there are the following bugs:

1.- Part of the 3d model of the stadium (exported from Blender)  appears to be distorted.

2.- I can't rotate the camera cause when I try it the camera shows an erratic movement.

What could be the roots of these issues?

Thank you.

Ps: please ignore the css errors in mobile, working on that  ;) 

Link to comment
Share on other sites

I tried with pep.js but doesnt work, I tried with hand.min.1.3.8.js and now its working on Firefox but in Chrome I get the same erratic movement.

I'm not sure if chrome issue its because I'm using the same device and its stored in cache or something like that.

Sebavan can you help me checking the following url to see with chrome for android if the error has been solved please?

 http://wilawara.000webhostapp.com/demos/gopidemo/simulation.html

Thank you very much. 

Link to comment
Share on other sites

It still does not work on android and by the way you can test yourself direclty in your chrome browser by enabled the device toolbar in chrome:

image.png.5ce9d92cf65a7fecf00ab05d3ee67f2b.png

There is definitely something wrong with inputs so you should try to update babylonjs to the latest version and use pep.js.

The pointer events are not going through at the moment.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...