Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

My screen wrap code is not working properly. Please help me to fix it!!

BalajiBalaji Member
edited June 2021 in Programming

Hi guys,

I am new to Game Dev.

I am trying to make a asteroid shooter like game with screen wrap (in unity 2017.4)

But the screen wrap code is not working well

Faulty Screen wrap in action👇️

Instead of teleporting the the object to the other side of the screen it is choosing a random point.

I made a classic WASD movement and point towards mouse script.

Then I put the following script on the player with guidance from

Script for reference👇️

Project for reference👇️

Hope you will help me to fix it.......

Sign In or Register to comment.