Hi guys,
I have an issue with the OnCollisionEnter2D which is never called.
My set-up is pretty simple :
- A platform with rigidbody2D (is Kinematic = true) and a Box Collider (is Trigrer =false)
- A character, slightly above the platform - with rigidbody2D (is Kinematic = false) and a Box Collider (is Trigrer =false)
- A script attached to the character with the following code :
Am’I doing something wrong ?
Thank you
hmm not sure what happens when you have two kinematic objects colliding… doesn’t that sort of not make sense? kinematic kind of means you’re overriding collision reactions by forcing the object’s position etc? And if both are doing that, there wouldn’t really be a collision response?
I have to apologize here ! I have added by mistake the collider in one of the character gameObject child - so the script attached to the character had no reason to detect collisions between platform and is child GameObject Collider.