I’ve been trying for a while to get the players collision to be detected against the objects but alas nothing has worked, and scrubbing through forum responses hasn’t helped either. Either I have made a meager mistake or am doing something entirely wrong.
I have a player that has a rigidbody2d, is Dynamic (I’ve tried making it kinematic and using full kinematic as well) and is simulated. Here is a picture: Imgur: The magic of the Internet
The Objects that it is colliding with have these settings: Imgur: The magic of the Internet
Yes, I’ve tried not having a rigid body on them, and also have set them to Use Full Kinematic before as well when I do have them as a kinematic rigid body. It makes no difference, I still get no input on collision.
For the code for movement I’ve tried having it move through rb.Addforce and translating the objects position, both through fixed update.
I’ve checked the collision Matrixes and it seems to be in order as well, but here is a picture of that in case it may be messed up: Imgur: The magic of the Internet
The Script for detecting that is connected to the player is:
public class RowCollider : MonoBehaviour
public static bool alive;
void Start ()
alive = true;
void OnTriggerEnter2D (Collider2D other)
Debug.Log ("You Collided!");
alive = false;
void FixedUpdate ()
I really have no idea how to get this to work, I’ve tried so many things, please help