Enable for ( ) mode ( ): Difference between revisions

From PenguinMod Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
 
Line 25: Line 25:
'''Not recommended'''
'''Not recommended'''


Gives the object the hitbox matching the sprite outline.
Unsure what this does.
[[Category:Stack Blocks]]
[[Category:Stack Blocks]]
[[Category:Physics Blocks]]
[[Category:Physics Blocks]]

Latest revision as of 19:25, 4 April 2024

Enable for ( ) mode ( )
...
Caption
Block Type Stack Blocks
Category / Extension Physics Extension
Status Who tf uses status

The enable for mode block is a stack block in the Physics extension. It is used to setup the hitbox for a physics object. When an object has physics enabled, it cannot be disabled unless the project is restarted.

Dropdowns (First)

This costume

Turns on the hitbox for the sprites current costume. When the costume is switched the same hitbox will be in place unless the block is used again, which will overwrite the previous hitbox

is circle

Not recommended Gives the object a circular hitbox. The hitbox can only be a perfect circle however, and not an ellipse.

All sprites

Not recommended

Gives all sprites in the project physics for their costume.

Dropdowns (Second)

Normal

Gives the object the hitbox normally.

Precision

Not recommended

Gives the object the hitbox matching the sprite outline.