public override void OnBoundingBoxEnter(CollisionStateFlags collisionState, int pixelPenetration, ActiveBoundingBox other) { if ((collisionState & CollisionStateFlags.GROUND) == CollisionStateFlags.GROUND) { VelocityY = 0.0f; IsJumping = false; } }
public virtual void OnBoundingBoxEnter(CollisionStateFlags collisionState, int pixelPenetration, ActiveBoundingBox other) { }