mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-15 23:15:47 +02:00
optimize collisions
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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