[LayaAir 2.0]导入缩放过带有MeshCollide时出错,Cannot read property 'setLocalScaling' of undefined
求助,如何处理
Uncaught TypeError: Cannot read property 'setLocalScaling' of undefined
at MeshColliderShape.__proto._setScale (laya.d3.js:23983)
at PhysicsCollider.__proto._onScaleChange (laya.d3.js:21429)
at PhysicsCollider.__proto._innerDerivePhysicsTransformation (laya.d3.js:21500)
at PhysicsCollider.__proto._derivePhysicsTransformation (laya.d3.js:21461)
at PhysicsCollider.__proto._onEnable (laya.d3.js:21553)
at PhysicsCollider.__proto._setActive (laya.core.js:7072)
at Sprite3D.__proto._activeHierarchy (laya.core.js:13777)
at Sprite3D.__proto._activeHierarchy (laya.core.js:13784)
at Scene3D.__proto._activeHierarchy (laya.core.js:13784)
at Scene3D.__proto._processActive (laya.core.js:13765)
Uncaught TypeError: Cannot read property 'setLocalScaling' of undefined
at MeshColliderShape.__proto._setScale (laya.d3.js:23983)
at PhysicsCollider.__proto._onScaleChange (laya.d3.js:21429)
at PhysicsCollider.__proto._innerDerivePhysicsTransformation (laya.d3.js:21500)
at PhysicsCollider.__proto._derivePhysicsTransformation (laya.d3.js:21461)
at PhysicsCollider.__proto._onEnable (laya.d3.js:21553)
at PhysicsCollider.__proto._setActive (laya.core.js:7072)
at Sprite3D.__proto._activeHierarchy (laya.core.js:13777)
at Sprite3D.__proto._activeHierarchy (laya.core.js:13784)
at Scene3D.__proto._activeHierarchy (laya.core.js:13784)
at Scene3D.__proto._processActive (laya.core.js:13765)
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
Aar0n
赞同来自:
复现步骤,预期效果和实际效果,这样能有效快速的解决问题