r/howdidtheycodeit • u/ThePoliteCrab • Apr 22 '23
Hitman2 3D space buttons
In hitman 2 and 3 (Not sure about 1 as I haven’t played it) when the player is presented with options to interact with an object, the buttons seem to exist and move around in 3D space as opposed to being projected onto the screen in 2D. How do they accomplish this effect?
14
Upvotes
View all comments
Show parent comment
1
u/RubberBabyBuggyBmprs Apr 23 '23
You just render it on top of everything else using a shader and handle your own interaction events if you want, t's really not that deep.