physics type

physics type

segment-physics

Details

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

Physics > physics type

Description

This tile is used to set or query the physics type of an object. Physics types are:

Fixed
Character
Tumbling

A fixed object is one that when created or placed stays in the position and is not affected by gravity or the position of other objects.

A Character physics setting will remain upright at all times, cannot be knocked over, and will be affected by gravity and collidable objects.

A Tumbling setting on an object will cause it to be affected by gravity and it will roll and tumble when knocked.

Example Code

WHEN [once] DO [physics type][=][fixed]

 

Modifiers

 

None

Other Uses

You can cause an object to float in the air using fixed physics, but will revert to tumbling once it is picked up. This is useful for objects like magical swords that appear in mid-air, but when dropped later in the game, fall to the ground.

WHEN [interacted]  DO [equip][me]

…WHEN DO [physics type][=][tumbling]

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: