playMaker

Author Topic: Transporting using playmaker  (Read 1843 times)

infotau

  • Playmaker Newbie
  • *
  • Posts: 2
Transporting using playmaker
« on: March 15, 2014, 09:43:48 PM »
Hello,

I hope you all are fine.
I am new to playmaker, i would like to allow the player to click on props and then a pop up action window apear he can then choose which action to make, for example :
There is a sofa, when the player get closer to it he will be able to click on the sofa, a pop up window apear with actions like sit, lay, jump on it etc... once he choose for example to sit, he will be transporting to the proper position and rotation and the siting animation will play.

How can i do this please ?

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: Transporting using playmaker
« Reply #1 on: March 17, 2014, 09:13:31 AM »
You want a lot of work here.
Please, do step by step.
1. Move your player with traslate
2. Make a game object empty, add collider and set "trigger true"

Come back when you've done that

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Transporting using playmaker
« Reply #2 on: March 17, 2014, 01:14:25 PM »
That is indeed a long process, and much is involved in getting it to work.

You can use Mouse Pick to click the sofa.

Radial GUI info:
http://hutonggames.com/playmakerforum/index.php?topic=4132

You'll have to experiment with the animation part. 2D or 3D? Mecanim or Legacy? Might be as simple as using Move Towards, Set Rotation and Play Animation.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

infotau

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Transporting using playmaker
« Reply #3 on: March 18, 2014, 11:06:22 AM »
Its 3D and Mecanim animations

You want a lot of work here.
Please, do step by step.
1. Move your player with traslate
2. Make a game object empty, add collider and set "trigger true"

Come back when you've done that

I guess first need to make the props able to click on them :)

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: Transporting using playmaker
« Reply #4 on: March 18, 2014, 11:25:25 AM »
Hi
Is up to you if you want to move your player with click or just move without click.
1. If you want to move with click...Set FSM on your player with get mouse button down, then in another state use traslate action.
2. If you want to move without click... just make one state and use traslate action

you get that?