Hi,
Sorry for my bad english.
I have a moveable Object that is controlled by the Player. Now I want a sliding door on that moving Object.
If the Object is not moving at all, there is not a problem. the Door slides from one ImagePoint to the other.
lerp(Door.X, Player.ImagePointX("door_open"), 1 - 0.008^TimeDelta)
lerp(Door.Y, Player.ImagePointY("door_open"), 1 - 0.008^TimeDelta)
But if the Base Object is moving the door does not slide to the right point.
Please can someone help me out?