Source code for vehicle.wheel

[docs]class Wheel(): def __init__(rect,suspention_length,suspention_spring,suspention_dampening, suspention_travel,powered = False,steering = False,breaks = False): """ constructs a wheel and adds it to the world rect: a 5 part tuple with x,y,z,radius,width. suspention_length: rest length of the suspention suspention_spring: spring constant of the suspention suspention_dampening: dampening constant of the suspention suspention_travel: maximum travel of the suspention flags: powered steering breaks """ pass