add an invisible object with scroll to behaviour and let it move to that point, for example "on collision with cannon"->player.scrollto disable, set cameraobject.position to player, cameraobject.scrollto enabled, cameraobject.bullet set speed 5, set angle to angle (object, cannon)
Thanks, but it doesnt seem to work well. If i enable the bullet behavior the cameraobject moves and doesnt stop(which is the supposed to happen for a bullet). It doesnt really solve my problem. I need a "Move towards position(Cannon.ImagepointX(0),Cannon.ImagepointY(0)) i guess
I like to put my scrollto behavior on a separate invisible object and then just lerp it's position to the players.
I only use it if I need screenshake or want to track multiple objects, though. If you don't need those it's easier to just go through system and lerp your scrollx and scrolly values to the player (or anywhere else) directly.
I already tried a seperate cameraobject but coundnt get that to work. How would I learp exactly?