haha two titans are slugging in out in my thread!!
after i found that bigM's thingy still didn't work (and now i have to go make the "1-" change) i smacked together a third method, which is hideous to look at, and slow, but seems to do the job:
camera.x = (pow(sqrt(abs(camera.x - target.x)) - (time_step * .5),2) * sign(camera.x - target.x)) + target.x;
(Was missing bracket, fixed now)
just thought i'd post it for the sake. its based on the parabola y = x^2, where x represents time and y represents the camera's position relative to target.x.
so yea. if bigM's works now i'll go with that.
blast of course it doesn't! with or without a "1 -" the camera is stuck at target.x constantly! ahh well at least i have a backup plan
![frown frown](/ubb7/images/graemlins/default_dark/frown.gif)
i dont get how it's meant to work.. pow(reductionspersecond,16 / time_step) seems to always yeild a number very close to one. so the camera appears stuck over the entity...