Is there a way to determine which side of a collision box you touched

Is there a way to determine which side of a collision box you touched?

For instance if I jumped on the top plane of a box collision, instead of the 4 sides and the 1 bottom.

What my goal is to make a platformer that can determine the topside of a box to know that the object has landed, when ends up happening though is that if I touch the SIDE of the object it still counts as a landing. Which would be cool for wall jumping but I’d like more control.

Cheers,
AJ

You could check the direction of the normal vector of the contact point.
I don’t have experience with Play Canvas physics but it should be possible to get the normal.
If it’s pointing up then you landed on the top face.