The triangle is still there
In 2D trig, the right triangle is usually drawn for you. In 3D trig, the triangle is often hidden inside a box, a room, a ramp, or a frame. The skill is not learning a new trig rule. The skill is finding the triangle that matters.
Most 3D questions have a simple rhythm. First, solve a flat triangle on the base. Then use that answer in a second triangle that rises upward.
First
Solve the flat triangle on the base.
Then
Use that answer in the triangle that rises upward.
A cuboid is the cleanest place to see the idea. The diagonal across the floor is not the final answer, but it often becomes the ground distance for the next triangle.
Example 1
A box is long, wide, and high. Find the diagonal from one bottom corner to the opposite top corner.
Start on the floor. The base diagonal is made from the length and width.
Now that floor diagonal becomes one side of the vertical triangle. The space diagonal is the new hypotenuse.
The same idea works when the question asks for an angle. The floor diagonal gives the horizontal distance. The height gives the rise.
Example 2
A room is long, wide, and high. A cable runs from one bottom corner to the opposite top corner. Find the angle the cable makes with the floor.
First find the floor diagonal.
Now use the vertical triangle. From the floor angle, the height is opposite and the floor diagonal is adjacent.
The move to remember
3D trig is usually two normal right triangles joined together. Find a flat distance first, then use it with the height to find the final length or angle.