Page 1 of 1

Thrust in the Y Direction?

Posted: Sat Oct 31, 2009 2:04 pm
by MileHighGuy
I would like to know how to apply thrust in the y direction (up) i have tried "VelocityY(12.0)" and "GravityVelocityTarget(12.0);" but they seemed to have no affect. I have looked in the documentation but i could not find my answer.

Edit: I think ThrustAngle(<anglemin>, <anglemax>); could accomplish this, but i do not know the correct angle

here is the combo state
Hidden/Spoiler:
State("DASHFLIP")
{
Posture("Stand");
Animation("stand_dashflip_full");

EnergyRestoreRate(0);

RestartAnimation();
MustShowOneFrame();

AlignedToThrust();

Sound("saber_swing", 8, "Frames");

Duration(0.725, "Seconds");

AnimatedMove()
{
VelocityZ(1.0);
VelocityX(0.0);
VelocityY(12.0);
VelocityFromThrust(5.0);
VelocityFromStrafe(3.0);
}
TurnFactor(0.3);

GravityVelocityTarget(12.0);

InputLock("All", "!Thrust");

Attack()
{
AttackID("Dash2");
DamageTime(5, 21, "Frames");
DamageLength(2.5);
DamageWidth(1.0);
Damage(600);
Push(2.0);
}

Transition("IDLE");
}

Re: Thrust in the Y Direction?

Posted: Mon Nov 02, 2009 8:32 am
by mswf
You could try setting the thrustangle to 90 or 270 degrees, but it could also be that "thrustangle" goes in the X-Z axis and not in the X-Y one.
You could always try of course.