I’m implementing wall jumps but I’m not using a character controller so I can’t use those special functions. How can I derive the normal from the collision that comes out of OnCollisionStay() or OnCollisionEnter()?
Use Collision.contacts
(or Collision2D.GetContacts
) to retrieve your contact points. Both ContactPoint and ContactPoint2D have a normal
property.