Welcome to the Creatures Wiki! Log in and join the community.

Difference between revisions of "ACCG"

From Creatures Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
'''ACCG''' is a [[CAOS]] command used set or output the ACCG property of an agent. ACCG, simply speaking, is how fast or slow an object falls under gravity.
 
'''ACCG''' is a [[CAOS]] command used set or output the ACCG property of an agent. ACCG, simply speaking, is how fast or slow an object falls under gravity.
  
==ACCG for Output==
+
==ACCG for Input==
 
Syntax:
 
Syntax:
 
''ACCG A(int)''
 
''ACCG A(int)''
Line 9: Line 9:
 
Sets the acceleration due to gravity of an agent in pixels per tick per tick. In other words, the agent will gain ''A'' velocity, negative or positive, on the Y-axis per [[tick]].
 
Sets the acceleration due to gravity of an agent in pixels per tick per tick. In other words, the agent will gain ''A'' velocity, negative or positive, on the Y-axis per [[tick]].
  
==ACCG for Input==
+
==ACCG for Output==
 
Syntax:
 
Syntax:
 
''ACCG''
 
''ACCG''

Revision as of 04:47, 18 January 2006

ACCG is a CAOS command used set or output the ACCG property of an agent. ACCG, simply speaking, is how fast or slow an object falls under gravity.

ACCG for Input

Syntax: ACCG A(int)

Standalone command.

Sets the acceleration due to gravity of an agent in pixels per tick per tick. In other words, the agent will gain A velocity, negative or positive, on the Y-axis per tick.

ACCG for Output

Syntax: ACCG

Used in place of a numeric constant or variable.

Returns the float stored in the current TARGs ACCG property.

Examples

ACCG being used in the command line to make HOTS fall at 20 pixels per tick squared:

TARG HOTS ACCG 20 

Being used in the command line to make HOTS fall upwards at 20 pixels per tick squared:

TARG HOTS ACCG -20

Being used in the command line to output the ACCG of HOTS:

TARG HOTS OUTV ACCG

Equivalent in the real world

There is no equivalent of ACCG in the real world. On Earth, all objects at the same altitude fall with the same acceleration due to gravity, and differences due to altitude are negligible within normal range. This was demonstrated by Galileo, apocryphally by dropping similarly-sized balls from the Leaning Tower of Pisa.

In this respect the CEE corresponds more closely to Aristotle's world model, in which he postulated that objects accelerate earthward in direct proportion to their weights.

The reason for the common assumption that heavier things always fall faster is that heavier objects typically have less air resistance than lighter objects - that's why a feather falls so much more slowly than a brick. But on the Moon, both would fall in the same way.