Class HeadLookHelper
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet3.dll
Syntax
public sealed class HeadLookHelper : CustomHelper
Constructors
| Improve this Doc View SourceHeadLookHelper(Ped)
Declaration
public HeadLookHelper(Ped ped)
Parameters
Type | Name | Description |
---|---|---|
Ped | ped |
Properties
| Improve this Doc View SourceAlwaysEyesHorizontal
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.
AlwaysLook
Flag to force always to look.
Declaration
public bool AlwaysLook { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = False.
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.
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.
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.
KeepHeadAwayFromGround
Declaration
public bool KeepHeadAwayFromGround { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = False.
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).
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.
TwistSpine
Allow head look to twist spine.
Declaration
public bool TwistSpine { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = True.
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.