For a example player a is on the wing and makes a drive to the basket and player b is side by side with him. If player b is still moving and player a gives him a bump with the shoulder, that shouldn’t be an offensive foul since player b the defender is 1) not set 2) not square to the offensive player a. Now if player a and b stop , player a pump fakes ,player b is stationary with his hands up perpendicular and player a jumps into player b then yes that should be an offensive foul.
For a example player a is on the wing and makes a drive to the basket and player b is side by side with him. If player b is still moving and player a gives him a bump with the shoulder, that shouldn’t be an offensive foul since player b the defender is 1) not set 2) not square to the offensive player a. Now if player a and b stop , player a pump fakes ,player b is stationary with his hands up perpendicular and player a jumps into player b then yes that should be an offensive foul.