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.SetCharacterCollisionsHelper Class Reference

SetCharacterCollisions:. More...

Inheritance diagram for GTA.NaturalMotion.SetCharacterCollisionsHelper:
GTA.NaturalMotion.CustomHelper

Public Member Functions

 SetCharacterCollisionsHelper (Ped ped)
 Creates a new Instance of the SetCharacterCollisionsHelper for sending a SetCharacterCollisions 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 Spin [set]
 Sliding friction turned into spin 80.0 (used in demo videos) good for rest of default params below. If 0.0 then no collision enhancement. More...
 
float MaxVelocity [set]
 Torque = spin*(relative velocity) up to this maximum for relative velocity. More...
 
bool ApplyToAll [set]
 
bool ApplyToSpine [set]
 
bool ApplyToThighs [set]
 
bool ApplyToClavicles [set]
 
bool ApplyToUpperArms [set]
 
bool FootSlip [set]
 Allow foot slipping if collided. More...
 
int VehicleClass [set]
 ClassType of the object against which to enhance the collision. All character vehicle interaction (e.g. braceForImpact glancing spins) relies on this value so EDIT WISELY. If it is used for things other than vehicles then NM should be informed. 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...
 

Detailed Description

SetCharacterCollisions:.

Constructor & Destructor Documentation

◆ SetCharacterCollisionsHelper()

GTA.NaturalMotion.SetCharacterCollisionsHelper.SetCharacterCollisionsHelper ( Ped  ped)

Creates a new Instance of the SetCharacterCollisionsHelper for sending a SetCharacterCollisions Message to a given Ped.

Parameters
pedThe Ped to send the SetCharacterCollisions Message to.

SetCharacterCollisions:.

Property Documentation

◆ ApplyToAll

bool GTA.NaturalMotion.SetCharacterCollisionsHelper.ApplyToAll
set

Default value = False.

◆ ApplyToClavicles

bool GTA.NaturalMotion.SetCharacterCollisionsHelper.ApplyToClavicles
set

Default value = True.

◆ ApplyToSpine

bool GTA.NaturalMotion.SetCharacterCollisionsHelper.ApplyToSpine
set

Default value = True.

◆ ApplyToThighs

bool GTA.NaturalMotion.SetCharacterCollisionsHelper.ApplyToThighs
set

Default value = True.

◆ ApplyToUpperArms

bool GTA.NaturalMotion.SetCharacterCollisionsHelper.ApplyToUpperArms
set

Default value = True.

◆ FootSlip

bool GTA.NaturalMotion.SetCharacterCollisionsHelper.FootSlip
set

Allow foot slipping if collided.

Default value = True.

◆ MaxVelocity

float GTA.NaturalMotion.SetCharacterCollisionsHelper.MaxVelocity
set

Torque = spin*(relative velocity) up to this maximum for relative velocity.

Default value = 8.0f. Min value = 0.0f. Max value = 100.0f.

◆ Spin

float GTA.NaturalMotion.SetCharacterCollisionsHelper.Spin
set

Sliding friction turned into spin 80.0 (used in demo videos) good for rest of default params below. If 0.0 then no collision enhancement.

Default value = 0.0f. Min value = 0.0f. Max value = 100.0f.

◆ VehicleClass

int GTA.NaturalMotion.SetCharacterCollisionsHelper.VehicleClass
set

ClassType of the object against which to enhance the collision. All character vehicle interaction (e.g. braceForImpact glancing spins) relies on this value so EDIT WISELY. If it is used for things other than vehicles then NM should be informed.

Default value = 15. Min value = 0. Max value = 100.


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