Quick and short update.
I manage to make the player collide with the cactus. Its not pretty and smooth, but at least it work somehow. haha! Lets appreciate the full-fledged game engine like Godot and Unity, where most of things being handled for you.