Search Results for

    Show / Hide Table of Contents

    Class SetCharacterCollisionsHelper

    SetCharacterCollisions:.

    Inheritance
    Object
    CustomHelper
    SetCharacterCollisionsHelper
    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 SetCharacterCollisionsHelper : CustomHelper

    Constructors

    | Improve this Doc View Source

    SetCharacterCollisionsHelper(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

    The Ped to send the SetCharacterCollisions Message to.

    Remarks

    SetCharacterCollisions:.

    Properties

    | Improve this Doc View Source

    ApplyToAll

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

    Default value = False.

    | Improve this Doc View Source

    ApplyToClavicles

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

    Default value = True.

    | Improve this Doc View Source

    ApplyToSpine

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

    Default value = True.

    | Improve this Doc View Source

    ApplyToThighs

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

    Default value = True.

    | Improve this Doc View Source

    ApplyToUpperArms

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

    Default value = True.

    | Improve this Doc View Source

    FootSlip

    Allow foot slipping if collided.

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

    Default value = True.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

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