setting max substeps in demo
added motor support for PrismaticConstraint