added friction example
added velocity limiting