This is your skateboard question still, innit?
Work out the distance between the sprite origin and the centre of the skateboard. That should be very staight forward. If your skateboarder origin is initially 25,25 and your skateboard centre is 25,05 then the distance is 20. Save that as heightoffset#
Work out the angle of the skateboard as I said before:
SkateboardAngle# = atanfull(frontx-rearx,fronty-reary)
The angle of the normal to the skateboard is:
SkateNormal# = wrapvalue(SkateboardAngle#+90)
Work out the centre point of the skateboard:
centx# = (rearx+frontx)/2
centy# = (reary+fronty)/2
You should already know how far above the centre base point the sprites x,y is. This is the constant worked out above. So to find the origin of the sprite use some trig:
sprite_origin_x = centx + sin(SkateNormal#) * heightoffset#
sprite_origin_y = centy + cos(SkateNormal#) * heightoffset#
You might need to - the 90 rather than + it for the normal. Not sure. The theory is sound there though. Hope that helps. Sorry I didnt read your problem properly before.
Machine: P4 2200, 1GB RAM, GeForce4 64MB, Audigy Platinum
http://www.breakbeat-terrorism.co.uk
(It's not all about the coding)