Constrain to Touch, collide with walls.
Two.E
Member Posts: 599
Hello,
I am hoping someone could help me out.
I remember a demo where you would contain the velocity (x&Y) of an actor to always move to touch positions. It would be quick enough but allow for colliding with walls.
Does anyone remember the demo or equation needed to make this work?
Thanks,
Comments
Not my demo and don't remember who's it was unfortunately, but I think this is what you're after. Quite a lot of work is needed to get it to work really smoothly in the context of a game, but this demo is a very good start.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support