playMaker

Author Topic: Trigger and Set Position  (Read 1725 times)

coxy17

  • Beta Group
  • Sr. Member
  • *
  • Posts: 355
Trigger and Set Position
« on: May 20, 2014, 07:33:42 AM »
Hi,

My player enters a cube (trigger) and i want the player to adjust itself to the center of that trigger when the player stops.

Can this be achieved in Playmaker?

thanks

Nick

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Trigger and Set Position
« Reply #1 on: May 20, 2014, 07:45:33 AM »
You want the player to snap to the center of the trigger?

You can use the trigger to set position of the collider that touched it. Just store the position of Owner (the trigger) and use Set Position with the stored collider (Player) as the trigger position.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

coxy17

  • Beta Group
  • Sr. Member
  • *
  • Posts: 355
Re: Trigger and Set Position
« Reply #2 on: May 20, 2014, 08:00:45 AM »
Yes i want it to snap. That sounds ok. Ill give it a go

Thanks