using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CollisionRememberer : MonoBehaviour {

    public float lastcollisiontime;
    public Vector2 grounddir;

    private void OnCollisionStay2D(Collision2D collision)
    {
        //print("heere");
        lastcollisiontime = Time.time;
        /*print(collision.contacts[0].normal);
        grounddir = collision.contacts[0].normal;*/
    }

}
