gravity factor

gravity factor



Kode wheel segment Physics
Style Number Variable
Modifiers None
Primarily WHEN/DO Both
Pre-made brains that use it Unknown

Physics > gravity factor


This tile allows you to set or query the force of gravity on the object. The higher the number, the more gravity will affect the object (affectively making it heavier), the lower the number the less it will make it (affectively making it appear lighter).

Set to 0 the object will not be affected by gravity. An object with a character physics type will float in the air with its falling animation (hands up feet raised). An object with a tumbling physics type will move (as if in space) when knocked. An object with a fixed physics type will do nothing unless it jumps into the air, when it will rise continuously.

Setting an object with a negative gravity factor will cause the object to rise (recommend numbers between 0 and -1) The bigger the number, the faster the rise. Increasing the number to a positive one after a rise will cause it to immediately fall.


Example Code

WHEN [once] DO [gravity factor][=][0]





Other Uses

Comments are closed.

Website Powered by

Up ↑

%d bloggers like this: