finished adding lua stuff for physics component