Move object with another when touching/raycast hit?

Hello again,
I am recreating Frogger in blender and can’t figure out how to make the frog move with the log when he gets on it, I have a tried to make a script but it didn’t work (Don’t know why(logMovement.py in the blend)). If you can help here is my blend file: https://www.dropbox.com/s/q48yhl2pzvovj46/Frogger.blend?dl=0

Thanks in advance!
Tr4nz1uc3nt

check de file

two scripts, properties in log move log, move frog,

Log move Frog.

Set property y to something like .1

Fin
:smiley:

Attachments

Frogit.blend (445 KB)

v2 - Jump + move left right 4 ward

Attachments

Frogit (2).blend (473 KB)

Thanks, a bunch!