Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Rabagast on August 27, 2013, 11:51:38 PM

Title: Thruster
Post by: Rabagast on August 27, 2013, 11:51:38 PM
Hi!
Does someone have some ideas how to make a Thruster, like Space Taxi on C64?

Title: Re: Thruster
Post by: Lane on August 28, 2013, 07:27:58 AM
Using physics its pretty straightforward, not sure about using regular transforms.

You can look into

Get Axis (for direction)
Add Force (to push the ship)
Float Clamp (to cap the power)

Turn off gravity for that rigidbody and those actions should get you going in the right direction. I have a project I'm working on and will be making it available when its further along that will explain how this type of system works.
Title: Re: Thruster
Post by: Rabagast on August 28, 2013, 02:59:33 PM
Hi!
Thank you!
I got some problems here! Will it take very long time before you are finishing this project? Maybe I can wait for that!

But in the meantime, I can try to figure out this by myself! :)
Title: Re: Thruster
Post by: Lane on August 28, 2013, 05:36:25 PM
I'll try to comment in some explanations into it and upload an early version with the movement basics tonight so you can get started.

It's going to change quite a bit from this version though.
Title: Re: Thruster
Post by: Rabagast on August 28, 2013, 05:38:35 PM
Ok, thanks! :)
Title: Re: Thruster
Post by: Lane on August 28, 2013, 07:47:49 PM
This is a preliminary version.

http://hutonggames.com/playmakerforum/index.php?topic=4025.msg22552#msg22552

Its very different from what you're trying to do, but you can apply the same FSM's i have for strafing in there directly to your controller to do exactly what you want to do in this video.