Search Results for

    Show / Hide Table of Contents

    Class HeadLookHelper

    Inheritance
    Object
    CustomHelper
    HeadLookHelper
    Inherited Members
    CustomHelper.Start()
    CustomHelper.Start(Int32)
    CustomHelper.Stop()
    CustomHelper.SetArgument(String, Boolean)
    CustomHelper.SetArgument(String, Int32)
    CustomHelper.SetArgument(String, Single)
    CustomHelper.SetArgument(String, String)
    CustomHelper.SetArgument(String, Vector3)
    CustomHelper.ResetArguments()
    CustomHelper.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: GTA.NaturalMotion
    Assembly: ScriptHookVDotNet3.dll
    Syntax
    public sealed class HeadLookHelper : CustomHelper

    Constructors

    | Improve this Doc View Source

    HeadLookHelper(Ped)

    Creates a new Instance of the HeadLookHelper for sending a HeadLook Message to a given Ped.

    Declaration
    public HeadLookHelper(Ped ped)
    Parameters
    Type Name Description
    Ped ped

    The Ped to send the HeadLook Message to.

    Properties

    | Improve this Doc View Source

    AlwaysEyesHorizontal

    Keep the eyes horizontal. Use true for impact with cars. Use false if you want better look at target accuracy when the character is on the floor or leaned over (when not leaned over the eyes are still kept horizontal if eyesHorizontal=true ) alot.

    Declaration
    public bool AlwaysEyesHorizontal { set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Default value = True.

    | Improve this Doc View Source

    AlwaysLook

    Flag to force always to look.

    Declaration
    public bool AlwaysLook { set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Default value = False.

    | Improve this Doc View Source

    Damping

    Damping of the muscles.

    Declaration
    public float Damping { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 1.0f. Min value = 0.0f. Max value = 3.0f.

    | Improve this Doc View Source

    EyesHorizontal

    Keep the eyes horizontal. Use true for impact with cars. Use false if you want better look at target accuracy when the character is on the floor or leaned over alot.

    Declaration
    public bool EyesHorizontal { set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Default value = True.

    | Improve this Doc View Source

    InstanceIndex

    LevelIndex of object to be looked at. Vel parameters are ignored if this is non -1.

    Declaration
    public int InstanceIndex { set; }
    Property Value
    Type Description
    Int32
    Remarks

    Default value = -1. Min value = -1.

    | Improve this Doc View Source

    KeepHeadAwayFromGround

    Declaration
    public bool KeepHeadAwayFromGround { set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Default value = False.

    | Improve this Doc View Source

    Pos

    The point being looked at.

    Declaration
    public Vector3 Pos { set; }
    Property Value
    Type Description
    Vector3
    Remarks

    Default value = Vector3(0.0f, 0.0f, 0.0f).

    | Improve this Doc View Source

    Stiffness

    Stiffness of the muscles.

    Declaration
    public float Stiffness { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 10.0f. Min value = 6.0f. Max value = 16.0f.

    | Improve this Doc View Source

    TwistSpine

    Allow head look to twist spine.

    Declaration
    public bool TwistSpine { set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Default value = True.

    | Improve this Doc View Source

    Vel

    The velocity of the point being looked at.

    Declaration
    public Vector3 Vel { set; }
    Property Value
    Type Description
    Vector3
    Remarks

    Default value = Vector3(0.0f, 0.0f, 0.0f). Min value = -100.0f. Max value = 100.0f.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX