Collision detection smaller than visible object

Hello. I have rectangle made by display.newRect(… Is it possible for physics engine to make collision object smaller than visible one? For example rectangle is 10x10, but collision is 9x9?

Sure, define your own shape, and make it smaller.

https://docs.coronalabs.com/daily/guide/physics/physicsBodies/index.html#polygonal-bodies

Will it works with display object rotation?

Sure, define your own shape, and make it smaller.

https://docs.coronalabs.com/daily/guide/physics/physicsBodies/index.html#polygonal-bodies

Will it works with display object rotation?