Thx VirtuaKitten,
My initial wish is to use a realistic mesh for the wave.
As I was crossing the wave, I thought the problem was with the mesh.
So I tried with only one prim. (A simple half-cylinder that I hollowed out at 90 %)
But the problem is the same with a prim.
When I arrive on the wave with my surfboard, I cross it!
The wave script is as follows (simplified presentation)
The wave begins to move forward with a click of the mouse.
default
{
state_entry()
{
llSay(0, "Script running");
}
touch_start(integer num_detected)
{
llSetKeyframedMotion([<200, 0.0, 0.0>, 40],[KFM_DATA, KFM_TRANSLATION]);
}
}
For a simple visual effect, this script is perfect, as the wave moves linearly like a vehicle.
But for surfing it isn't suitable.