forked from Mirrors/openclonk
#637 clonks rotation again adapted to the rope ladder
parent
10b1708510
commit
7e56f44bc6
|
@ -350,7 +350,7 @@ func FxIntClimbControlControl(target, number, ctrl, x,y,strength, repeat, releas
|
|||
}
|
||||
|
||||
func SetLadderRotation (int r, int xoff, int yoff) {
|
||||
SetMeshTransformation(Trans_Mul(Trans_Translate(0, -10000), Trans_Rotate(-r,0,0,1), Trans_Translate(xoff, 10000+yoff)), 1);
|
||||
SetMeshTransformation(Trans_Mul(Trans_Translate(0, -10000), Trans_Rotate(-r,0,0,1), Trans_Translate(xoff, 10000+yoff)), 5);
|
||||
// SetProperty("MeshTransformation", Trans_Mul(Trans_Translate(0, -10000), Trans_Rotate(-r,0,0,1), Trans_Translate(xoff, 10000+yoff)));
|
||||
return;
|
||||
// var fsin=Sin(r, 1000), fcos=Cos(r, 1000);
|
||||
|
|
Loading…
Reference in New Issue