Hi Filax, i cant view the example (havent got rar on this machne)
Are you trying to bounce a ball?
wouldnt it be easier to linepick in the balls direction and use picked nx,ny,nz to alight a pivot to the rebounding surface at pickedx,y,z.
Then do some maths to work out the balls rotation to the pivot's.
From this you could work out the rebounding angle with mabe a rnd(-.5,.5) degree of chaos added so its not a 'perfect' rebound.
I think you would mabe need 2 from each edge of the ball rather than its center to detect the edges collision or mabe all 3 (thinking of head on). Im not sure about the radius option, mabe slow (never used it)
ie:
|||
|||
'O'
Are you trying to bounce a ball?
wouldnt it be easier to linepick in the balls direction and use picked nx,ny,nz to alight a pivot to the rebounding surface at pickedx,y,z.
Then do some maths to work out the balls rotation to the pivot's.
From this you could work out the rebounding angle with mabe a rnd(-.5,.5) degree of chaos added so its not a 'perfect' rebound.
I think you would mabe need 2 from each edge of the ball rather than its center to detect the edges collision or mabe all 3 (thinking of head on). Im not sure about the radius option, mabe slow (never used it)
ie:
|||
|||
'O'