To avoid this we can either place a floor underneath with a collider or set the gravity value attribute in the rigidbody component to 0.
Unity 2d floor.
Elevate your workflow with the floor materials pack v 1 asset from vk gamedev.
Elevate your workflow with unity asset store s top rated assets.
Elevate your workflow with the tile floor asset from casual2d.
Browse more 2d textures materials on the unity asset store.
Reboot 2020 50 off new assets for a diy do over.
Browse more 2d textures materials on the unity asset store.
This would lead to the player getting stuck inside the floor when landing a from a high jump.
Reboot 2020 50 off new assets for a diy do over.
One of the challenges i ran into was that when the player moved above a certain velocity it would sometimes pass through colliders.
2d is not 3d.