Update PhysicsLayer and RenderLayer enums

main
copygirl 6 months ago
parent 820bd0c901
commit 8ab1d8d06c
  1. 10
      scripts/globals/PhysicsLayer.cs
  2. 3
      scripts/globals/RenderLayer.cs

@ -1,15 +1,15 @@
[Flags]
public enum PhysicsLayer : uint {
public enum PhysicsLayer : uint
{
/// <summary> Objects that are part of the scene, and never move. </summary>
Static = 1 << 0,
/// <summary> Objects the player collides with, but may move. </summary>
/// <summary> Objects players collide with, but may move. </summary>
Dynamic = 1 << 1,
/// <summary> The player. </summary>
/// <summary> Any players, both local and remote. </summary>
Player = 1 << 2,
/// <summary> Small objects the player doesn't collide with, but collide with the player. </summary>
/// <summary> Small objects players don't collide with, but collide with players. </summary>
Item = 1 << 3,
/// <summary> Objects that may be picked up. </summary>
Pickup = 1 << 8,
/// <summary> Objects that other objects may be placed against. </summary>

@ -1,5 +1,6 @@
[Flags]
public enum RenderLayer : uint {
public enum RenderLayer : uint
{
Default = 1 << 0,
Outline = 1 << 1,
}

Loading…
Cancel
Save