It’s also frequent (though purists might jib at it) where the next word begins with a semivowel, as right unit, right one. Those are all cases where I would happily use a glottalled /t/ myself.
The environment where we are now starting to get glottalling from many speakers (though not from the likes of me) is in absolute-final (prepausal) position, or when the following word begins with a vowel, thus Right!, right after, right underneath, right as rain..
Right is NEVER prounounced raɪ (‘rye’).
Before a homorganic plosive or affricate, as in right time, right day, right choice, right joke you can alternatively have a no-audible-release t, which may be difficult to distinguish auditorily from a glottal stop.