Class SetCharacterCollisionsHelper
SetCharacterCollisions:.
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet3.dll
Syntax
public sealed class SetCharacterCollisionsHelper : CustomHelper
Constructors
| Improve this Doc View SourceSetCharacterCollisionsHelper(Ped)
Creates a new Instance of the SetCharacterCollisionsHelper for sending a SetCharacterCollisions Message to a given Ped.
Declaration
public SetCharacterCollisionsHelper(Ped ped)
Parameters
Type | Name | Description |
---|---|---|
Ped | ped |
Remarks
SetCharacterCollisions:.
Properties
| Improve this Doc View SourceApplyToAll
Declaration
public bool ApplyToAll { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = False.
ApplyToClavicles
Declaration
public bool ApplyToClavicles { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = True.
ApplyToSpine
Declaration
public bool ApplyToSpine { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = True.
ApplyToThighs
Declaration
public bool ApplyToThighs { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = True.
ApplyToUpperArms
Declaration
public bool ApplyToUpperArms { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = True.
FootSlip
Allow foot slipping if collided.
Declaration
public bool FootSlip { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = True.
MaxVelocity
Torque = spin*(relative velocity) up to this maximum for relative velocity.
Declaration
public float MaxVelocity { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 8.0f. Min value = 0.0f. Max value = 100.0f.
Spin
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.
Declaration
public float Spin { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 0.0f. Min value = 0.0f. Max value = 100.0f.
VehicleClass
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.
Declaration
public int VehicleClass { set; }
Property Value
Type | Description |
---|---|
Int32 |
Remarks
Default value = 15. Min value = 0. Max value = 100.