Closed tredokiller closed 1 year ago
It is Godot that is inconsistent.
VisualInstance3D.layers
. All meshes have this.CollisionObject3D.collision_layer
There's also
CharacterBody3d.platform_wall_layers
CharacterBody3d.platform_floor_layers
NavigationServer/Agent*.avoidance_layers
NavigationServer/Agent*.navigation_layers
CanvasLayer.layer
The questions I ask are:
I'm considering.
For now you can query if it is a terrain
if collider is Terrain3D:
...
I think we will match Godot's inconsistency. render_layers with VisualInstance.layers, and collision_layer with CollisionObject.collision_layer. If they fix their physics name to match everything else, we will change it back with them.
In my opinion, something is wrong with the naming of layers "collision_layers" and "render_layers"
In the plugin, it looks like this:
But in other default nodes, it looks like this:
Because of this, I can`t use checking by layer, because the name of the variable is different.
I think it would be better to rename it to "collision_layer" and "render_layer" like in other nodes