Enables (or disables) rotation from external forces.


GML Code Example


Returns: Boolean


This variable can be used to set whether or not the instance can be affected by rotational forces (default is false). If this is set to true, no external force (either from coded impulses or forces, or from collisions) will affect the rotation value of the instance and this would have to be set manually using the phy_rotation variable.


GML Code Example

phy_rotation = 0;
 phy_fixed_rotation = true;

The above code will switch the instance to have a fixed rotation, then set the rotation angle.

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here