POV-Ray : Newsgroups : povray.advanced-users : Collision with energy loss : Re: Sliding / flowing Server Time
29 Jul 2024 16:20:55 EDT (-0400)
  Re: Sliding / flowing  
From: Anders K 
Date: 27 May 2002 11:52:47
Message: <3cf2564f$1@news.povray.org>
There's more to bouncing than just a simple decrease in vertical/horizontal
speed. In the case of a ball, for example, bouncing also gives the ball a
rotation (if the collision angle isn't 90 degrees). When the ball stops
bouncing, the ball's rotational momentum keeps it rolling.

Anders

--
light_source{6#local D=#macro B(E)#macro A(D)#declare E=(E-#declare
C=mod(E D);C)/D;C#end#while(E)#if(A(8)=7)#declare D=D+2.8;#else#if(
C>2)}torus{1..2clipped_by{box{-2y}}rotate<1 0C>*90translate<D+1A(2)
*2+1#else}cylinder{0(C-v=1).2translate<D+C*A(2)A(4)#end-2 13>finish
{specular 1}pigment{rgb x}#end#end#end-8;1B(445000298)B(519053970)B
(483402386)B(1445571258)B(77778740)B(541684549)B(42677491)B(70)}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.