小弟在落shake的script時不知為何有問題, 想請問有人知點解嗎?
以下是其中有事的部分 :
if ( a>=1 ){
curve float ps=a;
curve float pr=1;
}
else{
curve float pr=a;
curve float ps=1;
}
以上是有問題的script, 但當我試以下的郤是無問題的
if ( a>=1 ){
curve float ps=a;
curve float pr=1;
}
又或者這個
if ( a<1 ){
curve float pr=a;
curve float ps=1;
}
請問我的if...else寫有問題嗎?因為我是懷疑這個出事呢