- Home /
Question by
kubawich · Jul 15, 2016 at 12:30 PM ·
c#scripting problemphysicsrigidbody2d
How to make object bounce from one bound to another?
Hi, i'm creating enemy to my 2d game, and all what it's doing is bouncing drom one x camera bound to second one and loop like that, i have this code snipet responsible for that http://pastebin.com/Zh2hZfwm And my problem is, that it's not a linear movement but, it's dependent on 'random' sometimes it move faster, then bounce and move slow af, how can i make it simply linear move?
Comment