Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Portal Physics

$
0
0
I'm making sort of a portal clone. When the player hits one of the portals I have a script that makes the player's transform.position equal to the other portal's transform.position. The problem is that if the player had momentum going into one of the portals, that momentum will be lost when it comes out the other. Could I get a script that would make it so that the player will come out (or teleport) with the same momentum it had going in?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles