Hello everyone,
I am trying to create a camera-follows-the-player type setting. I have tried using a pivot as a parent for the player and camera, but it doesn't work quite right. I haven't been able to pin down the problem, but it seems to be a problem with the entities collision settings. I just wanted to ask, has anyone done something like this and has code for it they wouldn't mind sharing? Short of using pure trigonometry, I have no idea how to go about this, but before I delve into sines and cosines, I wonder if anyone has any code for this. I checked in the archives, but didn't find anything.
Can anyone help?
|