V
VeSo
Guest
Heyall I'm using the draw_sprite_pos function to draw a sprite on an angle according to a top-central horizon point. With the help of image scaling I have determined the top left and right two circles and their respective x and y positions. (green) as well as the bottom blue circles y co-ordinates.
Could I possible use the lerp function to predict the final two x-cordinates based on input data from the top two corners? I have no idea.
Just to clarify, I'm trying to find the X location of both bottom corners of the square. The lines are perfect gradients.
Please help. I've been looking for a week now!