Search Results for

    Show / Hide Table of Contents

    Class PedalLegsHelper

    Inheritance
    System.Object
    Message
    CustomHelper
    PedalLegsHelper
    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 PedalLegsHelper : CustomHelper

    Constructors

    Name Description
    PedalLegsHelper(Ped)

    Creates a new Instance of the PedalLegsHelper for sending a PedalLegs Message to a given Ped.

    Properties

    Name Description
    AdaptivePedal4Dragging

    Will pedal in the direction of travel (if backPedal = false, against travel if backPedal = true) and with an angular velocity relative to speed upto a maximum of 13(rads/sec). Use when being dragged by a car. Overrides angularSpeed.

    AngSpeedMultiplier4Dragging

    NewAngularSpeed = Clamp(angSpeedMultiplier4Dragging * linear_speed/pedalRadius, 0.0, angularSpeed).

    AngularSpeed

    Rate of pedaling. If adaptivePedal4Dragging is true then the legsAngularSpeed calculated to match the linear speed of the character can have a maximum value of angularSpeed (this max used to be hard coded to 13.0).

    BackPedal

    Pedal forwards or backwards.

    CentreForwards

    Move the center of the pedal for both legs forward (or backward -ve).

    CentreSideways

    Move the center of the pedal for both legs sideways (+ve = right). NB: not applied to hula.

    CentreUp

    Move the center of the pedal for both legs up (or down -ve).

    DragReduction

    How much to account for the target moving through space rather than being static.

    Ellipse

    Turn the circle into an ellipse. Ellipse has horizontal radius a and vertical radius b. If ellipse is +ve then a=radiusellipse and b=radius. If ellipse is -ve then a=radius and b = radiusellipse. 0.0 = vertical line of length 2radius, 0.0:1.0 circle squashed horizontally (vertical radius = radius), 1.0=circle. -0.001 = horizontal line of length 2radius, -0.0:-1.0 circle squashed vertically (horizontal radius = radius), -1.0 = circle.

    Hula

    If true circle the legs in a hula motion.

    LegAngleVariance

    0-1 value used to vary the angle of the legs from the hips during the pedal.

    LegStiffness

    Stiffness of legs.

    PedalLeftLeg

    Pedal with this leg or not.

    PedalOffset

    Move the center of the pedal for the left leg up by this amount, the right leg down by this amount.

    PedalRightLeg

    Pedal with this leg or not.

    Radius

    Base radius of pedal action.

    RadiusVariance

    0-1 value used to add variance to the radius value while pedalling, to desynchonize the legs' movement and provide some variety.

    RandomSeed

    Random seed used to generate speed changes.

    SpeedAsymmetry

    Random offset applied per leg to the angular speed to desynchronize the pedaling - set to 0 to disable, otherwise should be set to less than the angularSpeed value.

    Spread

    Spread legs.

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