Question by
ThatsFluke · May 12, 2020 at 10:30 AM ·
scripting beginner
,How can you make a GameObject/Prefab spawn on a wall a player is looking at?
I am making a portal game. I have done the portal mechanics, however don't know how to make the actual gun that shoots the portals onto surfaces. If you have any idea on how to do this, ill give you my code if you need so. Otherwise, something that I can just drop a GameObject/Prefab into a script, and it works.
Thanks!
Comment