x1911

Results 19 comments of x1911

var projector = new THREE.Projector(); function getShootDir(targetVec){ var vector = targetVec; targetVec.set(0,0,1); projector.unprojectVector(vector, camera); var ray = new THREE.Ray(sphereBody.position, vector.sub(sphereBody.position).normalize() ); targetVec.copy(ray.direction); in console it shows 'THREE.Projector has been moved...

use Three.JSONLoader to load THREE.SkinnedMesh, get the error Uncaught TypeError: Cannot read property 'center' of undefined this error would't show in three js page

@w84miracle thanks for reply, have you some example to show how this works?

has other way to apply force except body.applyImpulse ? if i want to keep the gravity [0, 9.8 ,0]

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...

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...

the example with three.js works, https://jeromeetienne.github.io/AR.js-docs/misc/EXAMPLES.html

the mobile one still works, but nft version still got webrtc error, https://github.com/jeromeetienne/AR.js/issues/273 look like there is nothing we can do

electron-builder --mac -c.mac.identity=null this one works for me, but it shows error after uploaded to steam