Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: coffeeANDsoda on June 06, 2014, 02:09:43 AM

Title: making one object unlock another.
Post by: coffeeANDsoda on June 06, 2014, 02:09:43 AM
How is this done in playmaker? Also, how would that apply to a few objects that a person would have to rotate a certain way in order to do the same thing?

Thanks.

Title: Re: making one object unlock another.
Post by: TrentSterling on June 06, 2014, 02:43:05 PM
I assume you mean something like a door. Here's a response I've made earlier on the topic with demo scene. 2 Buttons must be pressed to open the doorway.


(http://i.imgur.com/n3JyoH3.gif)
http://hutonggames.com/playmakerforum/index.php?topic=7311.msg35575#msg35575

As far as rotating an object to unlock something- you could just use GetRotation or GetAngles (whatever the action is called.) Check that the object has 0 rotation perhaps.
Title: Re: making one object unlock another.
Post by: coffeeANDsoda on June 06, 2014, 08:57:14 PM
More like getting another object move. No doors, unless I make it invisible.