replaced 'BodyType' with 'RigidBodyType' to keep consistent