SetControllerOrientedMovement: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
 
Line 3: Line 3:
{{FuncDescription|Makes the player mesh to control like in first person. Meaning when you press 'S' the character won't turn backwards but rather just walk backwards.}}
{{FuncDescription|Makes the player mesh to control like in first person. Meaning when you press 'S' the character won't turn backwards but rather just walk backwards.}}


{{FuncSyntax|SetControllerOrientedMovement}}
{{FuncSyntax|SetControllerOrientedMovement(bEnable)}}


{{FuncParameters}}
{{FuncParameters}}

Latest revision as of 11:57, 10 January 2020

SetControllerOrientedMovement

Type: Function
Context: Client
Introduced: v1.0

Description

Makes the player mesh to control like in first person. Meaning when you press 'S' the character won't turn backwards but rather just walk backwards.

Syntax

SetControllerOrientedMovement(bEnable)

Parameters

  • bEnable
    true to enable

Return Value

  • Returns true on success.

Example

SetControllerOrientedMovement(true)

See also

__EDIT_ME__