mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-22 17:34:14 +02:00
optimize collisions
This commit is contained in:
@@ -391,6 +391,7 @@ function enableObjectCollision(meshes: BABYLON.Mesh[]) {
|
||||
for (const mesh of meshes) {
|
||||
if (mesh.name.includes('__COLLISION__')) {
|
||||
mesh.checkCollisions = true;
|
||||
//mesh.isVisible = true; // debug
|
||||
} else {
|
||||
mesh.checkCollisions = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user