What methods should I call to put these values into SurfaceParameters?
This is not an XPAL problem. The SurfaceParameters are simply forwarded to JOODE. JOODE currently honors the following parameters:
"bounce" is the bounciness and "bounce_vel is the velocity vector of the bouncing. I have no idea, what fdir is. Maybe it's something about friction. Hey, JOODE-experts! Are there any other parameters, that we should forward. How do I set the friction in JOODE?
And as far as my experience says, the changing the bounciness value doesn't have any effect. Would be cool to get this working.