Procedural Bike Animation

// Accelerating forward This goes in the translate field in houdini

import hou

accelerate = hou.ch('accel')

time = hou.hscriptExpression("$F")

velocity = accelerate * time

distance = velocity * time

return -distance

//Rotating wheels - this goes in the rotate field.

 import math

dist = hou.ch("../tz")

rad = 5.03154

rox = (180 * dist)/(3.14*rad)

return rox