Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - OddButAwesome

Pages: 1 2 3 [4]
Playmaker Help / Jet flames based on movement/Velocity?
« on: September 30, 2015, 11:06:55 AM »
Hi all,

Having a bit of a challenge getting jet flames (mesh plane object) to scale into view when the player moves. Currently using a prefab 'MobileSingleStickControl' which works well enough. So flames can't appear based on keystrokes but I guess should appear based on ship movement or joystick direction.

Game is a 2D shooter type. Player is a ship with guns facing right. I would like the jet flames to appear on the top, rear and bottom when the player moves down, right and up respectively. i.e. player moves down flames appear on the top.

I was originally hoping to read the direction of the ship and have the flames scale as per the paragraph above. Each flame objects has its own (empty) parent which is centered on the player object so by scaling the parent the flame should appear to the person playing to shoot in and out.

Am I going about this totally wrong? What is a better way?

The pics below - the FSM is attached to the player.

Still new at this. Any help would be most appreciated.


Pages: 1 2 3 [4]