Ignore NavigationMeshGenerator singleton

This commit is contained in:
Rafał Mikrut
2022-09-10 08:09:16 +02:00
parent 68d5fd6b41
commit e482a332c4
5 changed files with 5 additions and 4 deletions

View File

@@ -201,6 +201,7 @@ var disabled_classes: Array = [
###
### Crashes, Freezes
###
"NavigationMeshGenerator", # Singleton
"AppProtocol", # AppProtocol singleton was recreated by script, should not instance it.
"ProjectSettings", # Don't mess with project settings, because they can broke entire your workflow
"EditorSettings", # Also don't mess with editor settings

View File

@@ -1,7 +1,7 @@
extends Node2D
var available_classes: Array = []
var exeptions: Array = ["AppProtocol", "SceneTree", "EditorSettings", "ProjectSettings", "InputEventShortcut", "InputMap", "ThemeDB"]
var exeptions: Array = ["AppProtocol", "SceneTree", "EditorSettings", "ProjectSettings", "InputEventShortcut", "InputMap", "ThemeDB", "NavigationMeshGenerator"]
func _ready():

View File

@@ -1,4 +1,4 @@
extends RigidDynamicBody2D
extends RigidBody2D
var move_vector: Vector2 = Vector2(1, 1)
var speed: float = 1000.0

View File

@@ -1,4 +1,4 @@
extends RigidDynamicBody3D
extends RigidBody3D
func _physics_process(delta: float) -> void:
add_constant_force(Vector3(0, 4 * delta, 0), Vector3(0, 0, 0))

View File

@@ -4,7 +4,7 @@
[sub_resource type="SphereShape3D" id="1"]
[node name="RigidDynamicBody3D" type="RigidDynamicBody3D"]
[node name="RigidDynamicBody3D" type="RigidBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -23.2888, 33.1278, 19.1751)
gravity_scale = 5.0
continuous_cd = true