Molang Animation Functions
Type is QueryStruct<PoseableModel>
.
exclude_labels(): ObjectValue<ExcludedLabels>
|
Returns an ObjectValue<ExcludedLabels> from a PoseableModel .
|
v.model.exclude_labels()
|
bedrock_primary(group: String, animation: String, options: MoValue...): ObjectValue<PrimaryAnimation>
|
Creates a new PrimaryAnimation using the group and animation . The options can either be ExcludedLabels , a WaveFunction (only the last one is used), or a String that represents a label to exclude. Returns an ObjectValue<PrimaryAnimation> of the newly created PrimaryAnimation .
|
I don't know what is an example
|
bedrock_stateful(group: String, animation: String, enduresPrimary: IDK WHAT THIS IS): ObjectValue<BedrockActiveAnimation>
|
Creates a new BedrockActiveAnimation using the group and animation . IDK WHAT EDURESPRIMARY IS. Returns an ObjectValue<BedrockActiveAnimation> of the newly created BedrockActiveAnimation .
|
I don't know what is an example
|
bedrock(group: String, animation: String): ObjectValue<BedrockPoseAnimation>
|
Creates a new BedrockPoseAnimation using the group and animation . Returns an ObjectValue<BedrockActiveAnimation> of the newly created BedrockActiveAnimation .
|
I don't know what is an example
|
look(boneName: String, pitchMultiplier: Double?, yawMulitplier: Double?, maxPitch: Double?, minPitch: Double?, maxYaw, Double?, minYaw: Double?): ObjectValue<SingleBoneLookAnimation>
|
Creates a new SingleBoneLookAnimation using the boneName and other options. Returns an ObjectValue<SingleBoneLookAnimation> of the newly created SingleBoneLookAnimation . The default values are in order here: 1.0, 1.0, 70.0, -45.0, 45.0, -45.0 .
|
v.model.look('head')
|
quadruped_walk(periodMultiplier: Double?, amplitudeMultiplier: Double? leftFrontLeftName: String?, leftFrontRightName: String?, leftBackLeftName: String?. leftBackRightName: String?): ObjectValue<QuadrupedWalkAnimation>
|
Creates a new QuadrupedWalkAnimation using the options. Returns an ObjectValue<QuadrupedWalkAnimation> of the newly created QuadrupedWalkAnimation . The default values are in order here: 0.6662, 1.4, 'leg_front_left', leg_front_right', 'leg_back_left', 'leg_back_right' .
|
v.model.quadruped_walk()
|
biped_walk(periodMultiplier: Double?, amplitudeMultiplier: Double? leftLegName?: String, rightLegName: String?): ObjectValue<BipedWalkAnimation>
|
Creates a new BipedWalkAnimation using the options. Returns an ObjectValue<BipedWalkAnimation> of the newly created BipedWalkAnimation . The default values are in order here: 0.6662, 1.4, 'leg_left', 'leg_right' .
|
v.model.biped_walk()
|
bimanual_swing(periodMultiplier: Double?, amplitudeMultiplier: Double? leftArmName: String?, rightArmName String?): ObjectValue<BimanualSwingAnimation>
|
Creates a new BimanualSwingAnimation using the options. Returns an ObjectValue<BimanualSwingAnimation> of the newly created BimanualSwingAnimation . The default values are in order here: 0.6662, 1.0, 'arm_left', 'arm_right' .
|
v.model.bimanual_swing()
|
sine_wing_flap(amplitude: Double?, period: Double?, verticalShift: Double?, axis: String?, wingLeft: String?, wingRight: String?): ObjectValue<WingFlapIdleAnimation>
|
Creates a new WingFlapIdleAnimation using the options. Returns an ObjectValue<WingFlapIdleAnimation> of the newly created WingFlapIdleAnimation . The default values are in order here: 0.9, 0.9, 0.0, 'y', 'wing_left', 'wing_right' . The axis can either be 'x', 'y', or 'z'.
|
v.model.sine_wing_flap()
|
bedrock_quirk(animationGroup: String, animationNames: MoValue, minSeconds: Double?, maxSeconds: Double?, loopTimes: Int?): ObjectValue<SimpleQuirk>
|
Creates a new SimpleQuirk using the animationGroup , animationNames and the other options. animationNames can either be an ArrayStruct<String> or a single String. Returns an ObjectValue<SimpleQuirk> of the newly created SimpleQuirk . The default values are in order here: 8.0, 30.0, 1 .
|
I don't know what is an example
|
primary_animation(activeAnimation: ObjectValue<ActiveAnimation>, options: MoValue...): MoValue
|
Creates a new PrimaryAnimation using the activeAnimation . The options can either be ExcludedLabels , a WaveFunction (only the last one is used), or a String that represents a label to exclude. Returns an ObjectValue<PrimaryAnimation> of the newly created PrimaryAnimation .
|
I don't know what is an example
|
punch(headName: String?, bodyName: String?, leftArmName: String?, rightArmName: String?, swingRight? Boolean): ObjectValue<PunchAnimation>
|
Creates a new PunchAnimation using the options. Returns an ObjectValue<PunchAnimation> of the newly created PunchAnimation . The default values are in order here: 'head', 'body', 'arm_left', 'arm_right', true .
|
v.model.punch()
|
bedrock_primary_quirk(animationGroup: String, animationNames: MoValue, minSeconds: Double?, maxSeconds: Double?, loopTimes: Int?, options: MoValue...): ObjectValue<SimpleQuirk>
|
Creates a new SimpleQuirk using the animationGroup , animationNames and the other options. animationNames can either be an ArrayStruct<String> or a single String. Returns an ObjectValue<SimpleQuirk> of the newly created SimpleQuirk . The default values are in order here: 8.0, 30.0, 1 . The options can either be a WaveFunction (only the last one is used) or a String that represents a label to exclude.
|
I don't know what is an example
|