Moving UP

Topics regarding Scripting with Reality Factory
Post Reply
User avatar
GMer
Posts: 329
Joined: Thu Oct 25, 2007 4:49 pm
Location: On the rock in the 3rd solar orbit.

Moving UP

Post by GMer »

Quick, rather n00bish question, how can I move a pawn straight up?
I know I need

Code: Select all

Gravity(false)
But what command can I use that makes the pawn go straight up?
Not the "ForceUp" Command, as that isn't constant.
Over 3 years (has it been that long?) and just now I noticed the day and month of my birthday were switched. Whoops!

Some 2d games I made, haven't made anything in a year though O.o
http://www.yoyogames.com/users/GMer56
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: Moving UP

Post by Juutis »

bool flymove(float PitchAngle, float YawAngle, float Distance);
Move the Pawn at a speed of Distance texels per second in the direction specified by PitchAngle and YawAngle. If the move was successful the function will return true.
Pain is only psychological.
Post Reply