Set Locked: Difference between revisions
link to Object
-u ndefined- (talk | contribs) m (Substitute to infobox and <code> tags)  | 
				 (link to Object) Tags: Mobile edit Mobile web edit Advanced mobile edit  | 
				||
| (One intermediate revision by the same user not shown) | |||
| Line 10: | Line 10: | ||
}}  | }}  | ||
Restricts a physical object's movement. 0 means completely locked and 1 means free-to-move. E.g. passing <code>1, 0, 1</code> to the Position input will lock an object in the X/Z plane, and passing <code>0, 0  | Restricts a physical [[object]]'s movement.  | ||
0 means completely locked and 1 means free-to-move.  | |||
E.g. passing <code>1, 0, 1</code> to the Position input will lock an object in the X/Z plane, and passing <code>0, 1, 0</code> to the Rotation input will only allow it to rotate around the Y axis.  | |||
{{Image|Set Locked example.png|Make the sphere limited to 2D movement and rotation}}  | |||
== Notes ==  | |||
It is a force multiplier, so any values can be used.  | It is a force multiplier, so any values can be used.  | ||
Using numbers such as <code>0.5, 0.5, 0.5</code> will make the object react to physics 50% less than normal. Negative numbers reverse physics and numbers bigger than 1 increase them.  | Using numbers such as <code>0.5, 0.5, 0.5</code> will make the object react to physics 50% less than normal. Negative numbers reverse physics and numbers bigger than 1 increase them.  | ||
[[Category:Blocks]]  | [[Category:Blocks]]  | ||