public float PlatformSpeed = 0.04f;
void OnCollisionEnter2D(Collision2D col) {
if (col.collider.gameObject.tag == "Player")
GameObject.Find("Player").transform.Translate (PlatformSpeed, 0, 0);
This is the collison script im working with, in a sense it works, atleast it runs and it does move my player, but only if the platform hits my player first, if i jump onto the platform i just sorta sit by the side of the object, the only way i know to allow them to overlap is by changing one to ‘is trigger’ but then it doesnt output, been stuck for a while now so any and all help will be much appreciated.
Hopefully you see what im trying to do, thanks for taking a look