DavidHome
DavidHome
var houseMaterial2 = new CANNON.Material(); houseMaterial2.friction=1.0; houseMaterial2.Material= 0.0; sphereBody = new CANNON.Body({ mass: 1, // kg material: houseMaterial2, //velocity: new CANNON.Vec3(0, 0, 0), position: new CANNON.Vec3(pos.x, 0, pos.y), // m...
[bounce.txt](https://github.com/schteppe/cannon.js/files/2067798/bounce.txt) change “bounce.txt” to “bounce.html”。s When the cube falls, wait for a moment. You will find the cube above slowly moving away. This is a bug. How can I not...
world.addEventListener("beginContact", function (event) { log('beginContact event') }); world.addEventListener('endContact', function(info) { log('endContact event') }) can not get "beginContact" or "endContact" Event?
videoplay url 安卓能播放 ios 苹果12黑屏 试了反馈的所有建议基础库啥的 还是不行,用微信WX.CreateVideo都可以 但是视频播放的时候播滑动屏幕有很大概率把视频滑没了只剩下声音在播放!