Thrown Item Physics (#120)

* Thrown object speed is now based on force.
Fixed BoundingBox namespace.

* 100% more throwing.
CollisionGroup enum.

* Update Engine.
This commit is contained in:
Acruid
2018-10-30 01:13:10 -07:00
committed by Pieter-Jan Briers
parent fc7493e149
commit d186f18c20
8 changed files with 119 additions and 33 deletions

View File

@@ -0,0 +1,17 @@
using System;
namespace Content.Shared.Physics
{
/// <summary>
/// Defined collision groups for the physics system.
/// </summary>
[Flags]
public enum CollisionGroup
{
None = 0x0000,
Grid = 0x0001, // Walls
Mob = 0x0002, // Mobs, like the player or NPCs
Fixture = 0x0004, // wall fixtures, like APC or posters
Items = 0x008, // Items on the ground
}
}