now I use raycast from each edge of star to next edge,then if all of them detect rectangle ,it means rectangle is inside star ,Is there an easier way to do this?
now I use raycast from each edge of star to next edge,then if all of them detect rectangle ,it means rectangle is inside star ,Is there an easier way to do this?