Set Position: Difference between revisions
-u ndefined- (talk | contribs) m (Add infobox and Related section) |
(Adapted "How do I make an object go in the direction its facing?" article from old wiki) |
||
Line 11: | Line 11: | ||
Sets the position and rotation of a given object. | Sets the position and rotation of a given object. | ||
== Examples == | |||
Make an object move in the direction its facing. | |||
The <code>{{Port|v|0,0,0.1}}</code> indicates the object points in the positive Z axis by default, and 0.1 is the speed at which the object will move. | |||
''Note: the object will ignore all obstacles when moving. To make an object move by using physics, use [[Set Velocity]]'' | |||
{{Image|Rotate example3.png}} | |||
== Related == | == Related == |
Latest revision as of 02:29, 6 August 2024
Set Position
Type | Script block |
Collider | None |
Folder | Objects |
Ports | |
---|---|
Inputs | Before Object Position Rotation |
Outputs | After |
Sets the position and rotation of a given object.
Examples
Make an object move in the direction its facing.
The 0,0,0.1
indicates the object points in the positive Z axis by default, and 0.1 is the speed at which the object will move.
Note: the object will ignore all obstacles when moving. To make an object move by using physics, use Set Velocity
