mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-06 05:01:53 +00:00
Invoke on collision enter + start of attach child colliders to rigidbody
+ Changed default Namespace of ScriptCore to GlitchyEngine + Implicit Casts float2 <-> b2Vec2 + Entity constructor internal + Renamed RigidBody2D to Rigidbody2D (notice the B) + Basic Debug Draw actual 2D Colliders + Added Entity::GetParentWithComponent
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using GlitchyEngine.Core;
|
||||
|
||||
namespace GlitchyEngine.Scripting.Classes;
|
||||
|
||||
[Ordered, Packed]
|
||||
struct Collision2D
|
||||
{
|
||||
public UUID Entity;
|
||||
public UUID OtherEntity;
|
||||
|
||||
public UUID Rigidbody;
|
||||
public UUID OtherRigidbody;
|
||||
}
|
||||
Reference in New Issue
Block a user