Lowered a function to rskRigidBody as null to let rigid bodies use dynamic_cast.