RotateEntity

Blitz3D Forums/Blitz3D Beginners Area/RotateEntity

Well that works kind of

Function UpdateBlocks()

	For block.block= Each block
	
		x=45
			
		If EntityPitch(block\blck)<>45 
			x=x-x*2
		Else
			RotateEntity block\blck,x,0,0
			
		EndIf
					
	Next

End Function 					 
		


but the blocks only rotate once ie. 45 degrees to the right. This little breakout clone is starting to become very aggravating :-)