Example #1
0
 public Collider(Entity.Entity attachee) : base(attachee)
 {
     rb    = attachee.FindComponent <Main.Component.Physics.RigidBodies.Rigidbody>();
     hasRB = rb != null;
     Main.Systems.ColiderSystem.CS.colliders.Add(this);
     Main.Rendering.Renderer.VDs.Add(this);
 }