Fix incorrect force threshold in RLGL project (#1912)
* Fix incorrect force threshold in RLGL project * set delta back to 100 in code samples and formula
This commit is contained in:
		@@ -149,12 +149,12 @@ At all times, gravity is applied to the @boardname@, so the acceleration strengt
 | 
			
		||||
If the acceleration strength is far from that value, say ``1100`` or ``900``, we can assume that the player is moving. To compute this we use the formula:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
moving = | acc strength - 1000 | > 1000
 | 
			
		||||
moving = | acc strength - 1000 | > 100
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Now that we know the math for it, we can turn this into code.
 | 
			
		||||
 | 
			
		||||
```block
 | 
			
		||||
```blocks
 | 
			
		||||
let REDLIGHT = 0
 | 
			
		||||
let state = 0
 | 
			
		||||
let GREENLIGHT = 0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user