Sometimes a floor joist is located right where the tub drain should be.
Fittings can be used to offset the drain around the floor joist.

Here is an example below.