Thanks for the info Mike. I'm trying hard to resolve this without the need for a delay, or an extra file.
Been playing, as I do, and struggled to do exactly what I want. I added a damping effector, which stopped the bounce but won't give me a "banner" effect without playing with it's effect over time.
It did show something though. The problem seems to be caused initially by the fact that the starting angle is how the object was created. Is it possible to reposition it? I tried XROTATE'ing, but it didn't seem to work. Compared with the Rope bridge example, I'm at 90 degrees.
here's my current code (it will run as is), with the damping. I've attached extra points to clamp the damn thing down.
displaymessageBanner()
function displayMessageBanner()
img = 3020
Banner1 = 3021
Peg1 = 3022
Peg2 = 3023
Peg3 = 3024
Peg4 = 3025
Peg5 = 3026
Peg6 = 3027
Effector = 3028
position camera 0,0,0
autocam off
if object exist(Banner1) = 0
make object box Peg1, 0.4, 0.4, 0.4
make object box Peg2, 0.4, 0.4, 0.4
make object box Peg3, 0.4, 0.4, 0.4
make object box Peg4, 0.4, 0.4, 0.4
make object box Peg5, 0.4, 0.4, 0.4
make object box Peg6, 0.4, 0.4, 0.4
position object Peg1, -5, 3, 10
position object Peg2, 5, 3, 10
position object Peg3, -5, 2, 10
position object Peg4, 5, 2, 10
position object Peg5, 0, 3, 10
position object Peg6, 0, 2, 10
`hide object peg1
`hide object peg2
make cloth Banner1
generate rectangular cloth Banner1, 10, 1, 10, 5, 1
set cloth mass Banner1, 5.0
set cloth elasticity Banner1, 0.2
xrotate object Banner1, 90
position object Banner1, -5,3,10
fix cloth point to object Banner1, 0,peg1,0,0,0
fix cloth point to object Banner1, 10,peg2,0,0,0
fix cloth point to object Banner1, 55,peg3,0,0,0
fix cloth point to object Banner1, 65,peg4,0,0,0
fix cloth point to object Banner1, 5,peg5,0,0,0
fix cloth point to object Banner1, 60,peg6,0,0,0
relax cloth Banner1
make damping effector Effector
bind effector to object Effector, Banner1
set damping effector Effector, 0.99
endif
color object Banner1, rgb(255,0,0)
do
update physics
sync
loop
endfunction
BatVink