Adding a object facing a certain way

I’m working on a portal game and i got stuck on a problem where you add a cube for the bullet and hit a wall then it adds a plane (portal) and deletes the bullet but the plane isn’t facing the same way the wall is facing. It just adds the plane what ever the bullet was facing obviously so i was wondering on how to make it so the plane is facing on any wall where the wall is facing. :confused: Thanks to anyone who can help.

using 2.49b

You should use Python. There was a bullet hole script that you might be interested in finding - it’s present here on the forum. In addition, there’s already a Portal example here, as well, showcasing pretty good-looking portal effects (which actually work in transferring objects around).

thanks alot :smiley: i was having so much trouble with this… thanks again :D!