SHVDN  v3
An ASI plugin for Grand Theft Auto V, which allows running scripts written in any .NET language in-game. Developed by crosire https://github.com/crosire/scripthookvdotnet/
GTA.NaturalMotion.HeadLookHelper Class Reference
Inheritance diagram for GTA.NaturalMotion.HeadLookHelper:
GTA.NaturalMotion.CustomHelper

Public Member Functions

 HeadLookHelper (Ped ped)
 Creates a new Instance of the HeadLookHelper for sending a HeadLook Message to a given Ped. More...
 
- Public Member Functions inherited from GTA.NaturalMotion.CustomHelper
void Start ()
 Starts this Natural Motion behavior on the Ped that will loop until manually aborted. More...
 
void Start (int duration)
 Starts this Natural Motion behavior on the Ped for a specified duration. More...
 
void Stop ()
 Stops this Natural Motion behavior on the Ped. More...
 
void SetArgument (string argName, bool value)
 Sets a Message argument to a bool value. More...
 
void SetArgument (string argName, int value)
 Sets a Message argument to a int value. More...
 
void SetArgument (string argName, float value)
 Sets a Message argument to a float value. More...
 
void SetArgument (string argName, string value)
 Sets a Message argument to a string value. More...
 
void SetArgument (string argName, Vector3 value)
 Sets a Message argument to a Vector3 value. More...
 
void ResetArguments ()
 Resets all arguments to their default values. More...
 
override string ToString ()
 Returns the internal message name. More...
 

Properties

float Damping [set]
 Damping of the muscles. More...
 
float Stiffness [set]
 Stiffness of the muscles. More...
 
int InstanceIndex [set]
 LevelIndex of object to be looked at. Vel parameters are ignored if this is non -1. More...
 
Vector3 Vel [set]
 The velocity of the point being looked at. More...
 
Vector3 Pos [set]
 The point being looked at. More...
 
bool AlwaysLook [set]
 Flag to force always to look. More...
 
bool EyesHorizontal [set]
 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. More...
 
bool AlwaysEyesHorizontal [set]
 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. More...
 
bool KeepHeadAwayFromGround [set]
 
bool TwistSpine [set]
 Allow head look to twist spine. More...
 

Additional Inherited Members

- Protected Member Functions inherited from GTA.NaturalMotion.CustomHelper
 CustomHelper (Ped target, string message)
 Creates a helper class for building Natural Motion messages to send to a given Ped. More...
 

Constructor & Destructor Documentation

◆ HeadLookHelper()

GTA.NaturalMotion.HeadLookHelper.HeadLookHelper ( Ped  ped)

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

Parameters
pedThe Ped to send the HeadLook Message to.

Property Documentation

◆ AlwaysEyesHorizontal

bool GTA.NaturalMotion.HeadLookHelper.AlwaysEyesHorizontal
set

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.

Default value = True.

◆ AlwaysLook

bool GTA.NaturalMotion.HeadLookHelper.AlwaysLook
set

Flag to force always to look.

Default value = False.

◆ Damping

float GTA.NaturalMotion.HeadLookHelper.Damping
set

Damping of the muscles.

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

◆ EyesHorizontal

bool GTA.NaturalMotion.HeadLookHelper.EyesHorizontal
set

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.

Default value = True.

◆ InstanceIndex

int GTA.NaturalMotion.HeadLookHelper.InstanceIndex
set

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

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

◆ KeepHeadAwayFromGround

bool GTA.NaturalMotion.HeadLookHelper.KeepHeadAwayFromGround
set

Default value = False.

◆ Pos

Vector3 GTA.NaturalMotion.HeadLookHelper.Pos
set

The point being looked at.

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

◆ Stiffness

float GTA.NaturalMotion.HeadLookHelper.Stiffness
set

Stiffness of the muscles.

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

◆ TwistSpine

bool GTA.NaturalMotion.HeadLookHelper.TwistSpine
set

Allow head look to twist spine.

Default value = True.

◆ Vel

Vector3 GTA.NaturalMotion.HeadLookHelper.Vel
set

The velocity of the point being looked at.

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


The documentation for this class was generated from the following file: