Hi, I have another question as usual
I am trying to rotate an entity to the left and right a but without going to far in each direction, so that it looks like the entities are wiggling
The problem is that the blocks won't rotate at all?? :/
Also I realize I am probably not using the cosine stuff right so excuse my math :)
Thanks
I am trying to rotate an entity to the left and right a but without going to far in each direction, so that it looks like the entities are wiggling
Function UpdateBlocks() For block.block= Each block yaw=Cos(180);this is the bit that rotates the blocks RotateEntity block\blck,0,yaw,0 If EntityYaw(block\blck)>Cos(90) yaw=yaw-yaw*2 Else yaw=Cos(180) EndIf Next End Function
The problem is that the blocks won't rotate at all?? :/
Also I realize I am probably not using the cosine stuff right so excuse my math :)
Thanks