[LayaAir 2.0]给mesh添加物理组件就报错
								var mesh: Laya.MeshSprite3D = this.track._children[this.track.numChildren - 1];
var collider: Laya.PhysicsCollider = mesh.addComponent(Laya.PhysicsCollider);
var shape: Laya.MeshColliderShape = new Laya.MeshColliderShape();
shape.mesh = mesh.meshFilter.sharedMesh;
collider.colliderShape = shape;
														var collider: Laya.PhysicsCollider = mesh.addComponent(Laya.PhysicsCollider);
var shape: Laya.MeshColliderShape = new Laya.MeshColliderShape();
shape.mesh = mesh.meshFilter.sharedMesh;
collider.colliderShape = shape;
没有找到相关结果
									已邀请:
																	
							要回复问题请先登录

1 个回复
Aar0n
赞同来自:
_defaultPhysicsMemory