Infinite race track for a car game?
Hi there guys :)
I'm working on a car game, which has teams and they race against each other, but they go in the opposite direction on the road. I would like to make the road infinite, so when they finish a lap, they continue to proceed forward from the start, keeping the same speed. I would like to make it continuous, so they do not "teleport". I was thinking about putting a portal at the two ends of the track, like in Prey https://www.youtube.com/watch?v=isA9LvU5GKI so you can see through it, see the enemies approeching and the level will seem infinite because of that.
Any Ideas how can I create such a portal in blueprints? Any idea is welcome :)
Thanks guys :)
asked Oct 28 '14 at 07:55 AM in Blueprint Scripting
Couldn't you make the track a loop?
But if the track is straight line, you can achieve an infinite effect using two render targets, each positioned at either end of the tracks. You could then create two planes at the ends and apply a material. Within this material, make sure the texture source comes from the render targets that you created.
However this is NOT good on performance. And if your track is open (ie it is not inside a tunnel and players can see whats around them), the portal effect wont be convincing.
Follow this question
Once you sign in you will be able to subscribe for any updates here