Search Results for

    Show / Hide Table of Contents

    Class ApplyBulletImpulseHelper

    Inheritance
    System.Object
    Message
    CustomHelper
    ApplyBulletImpulseHelper
    Inherited Members
    CustomHelper.Start()
    CustomHelper.Start(Int32)
    CustomHelper.Stop()
    CustomHelper.Abort()
    Message.Abort(Ped)
    Message.SendTo(Ped)
    Message.SendTo(Ped, Int32)
    Message.SetArgument(String, Boolean)
    Message.SetArgument(String, Int32)
    Message.SetArgument(String, Single)
    Message.SetArgument(String, String)
    Message.SetArgument(String, Vector3)
    Message.ResetArguments()
    Message.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: GTA.NaturalMotion
    Assembly: ScriptHookVDotNet2.dll
    Syntax
    public sealed class ApplyBulletImpulseHelper : CustomHelper

    Constructors

    Name Description
    ApplyBulletImpulseHelper(Ped)

    Creates a new Instance of the ApplyBulletImpulseHelper for sending a ApplyBulletImpulse Message to a given Ped.

    Properties

    Name Description
    EqualizeAmount

    0 means straight impulse, 1 means multiply by the mass (change in velocity).

    ExtraShare

    If not 0.0 then have an extra bullet applied to spine0 (approximates the COM). Uses setup from configureBulletsExtra. 0-1 shared 0.0 = no extra bullet, 0.5 = impulse split equally between extra and bullet, 1.0 only extra bullet. LT 0.0 then bullet + scaled extra bullet. Eg.-0.5 = bullet + 0.5 impulse extra bullet.

    HitPoint

    Optional point on part where hit.

    Impulse

    Impulse vector (impulse is change in momentum).

    LocalHitPointInfo

    True = hitPoint is in local coordinates of bodyPart, false = hit point is in world coordinates.

    PartIndex

    Index of part being hit.

    ☀
    ☾
    Back to top Copyright (C) 2015 crosire - zlib
    Generated with DocFX