Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: spacemanchuck on April 05, 2013, 12:14:34 AM

Title: Jet Pack! Lost, and in need of guidance!
Post by: spacemanchuck on April 05, 2013, 12:14:34 AM
Hey everybody,

So, I just picked up playmaker last weekend, and I'm having a good time with it so far, and I really can see the power it will have for prototyping.  However the one thing I really want to do I can't seem to find any information about, and I'm sure there must be a way to make it happen.  I'm an artist and have no programming back ground, so I need some help pointing me in the right direction.

Basically I'd like to make a Jetpack, with some real feeling of weight and resistance.  Any help will be extremely appreciated.   

Thanks in advance!
-CBG
Title: Re: Jet Pack! Lost, and in need of guidance!
Post by: greg on April 05, 2013, 07:24:41 AM
Moving a player usually is: get axis vector, which returns a vector3 for movement direction based on input, and then you apply that movement each frame with "controller move".

For a jetpack you'd want to manipulate the Y value of that vector3, using vector3 set XYZ, before applying it (before your controller move code).

Take the beginner playmaker tutorials if you don't understand this^
Title: Re: Jet Pack! Lost, and in need of guidance!
Post by: KozTheBoss on April 06, 2013, 03:52:44 PM
try using an "add force" action :) fun to play with!
Title: Re: Jet Pack! Lost, and in need of guidance!
Post by: xhidnoda on April 07, 2013, 10:50:02 AM
In the example of Jump Game, they use add force action.
This same action maybe you can use for the jetpack!
the only problem find on this...is how to move the player constantly for x axis.  :P