lo-th / Oimo.js

Lightweight 3d physics engine for javascript
http://lo-th.github.io/Oimo.js
MIT License
3.07k stars 303 forks source link

Oimo dosent work on iOS safari #55

Open x1911 opened 7 years ago

x1911 commented 7 years ago

it shows the error in oimo.js:814

SyntaxError: Attempted to redefine property 'multiplyScalar'.

then ReferenceError: Can't find variable: OIMO

ettubrutesbro commented 7 years ago

i believe you, but you might have to be more specific -- i just opened some oimo demos on my iPad on Safari 10, iOS 10.2.1.

(though even if you are more specific i can scarcely help....barely know how to use the library myself)

x1911 commented 7 years ago

its very weird, the demos work very well on iPad, but none of them work on my iPhone 6

i used safari to debug, it shows the error like before i mention

x1911 commented 7 years ago

ok,i found out thats the problem of OS version, it works on iOS > 9.2

this is a great physics engine, i like it and would like to use it in my next project,

maybe more performance on mobile device will be very nice :)

ettubrutesbro commented 7 years ago

hmm good to know, thank you for sharing :) (and yeah i agree, but i've come to accept it's part of working with something experimental/small)

kevzettler commented 5 years ago

This may have been fixed with #70 and #82