Playmaker Forum
PlayMaker Help & Tips => PlayMaker Tips & Tricks => Topic started by: mikejkelley on July 28, 2014, 10:43:53 PM
-
I've been using Get Position Set Position but I imagine this is the least graceful way to do that.
-
How are you controlling your character? You could turn off your controller and any gravity on the character using the SetProperty feature. This is how I do it.
Or you could even set the speed variable and gravity to zero. And as soon as you are ready to control the character, simply turn it back on.
-
Turning off the controller worked well, thanks! :)
-
Turning off the controller worked well, thanks! :)
How so? Because I am trying to set up a game where I freeze or stop the character from moving when they cleared a level.
-
Set Property > Specify Character Controller > Enabled. Make sure the check box isn't checked on the state action and you should no longer be able to control the character.
You could likewise change the speed variable to 0.
-
Set Property > Specify Character Controller > Enabled. Make sure the check box isn't checked on the state action and you should no longer be able to control the character.
You could likewise change the speed variable to 0.
What is the difference between Specify Character Controller vs Enable Behavior?
-
Specify Character Controller is essentially telling your action too look for the controller on your character.
Enabling Behaviors is whether or not that component is turned on or off. If the component is on, your player can control the character. If it is off, the character controlling behavior will be off so your the character is essentially frozen. When you wish to control the character again, simply enable or the turn the behavior on.
-
Specify Character Controller is essentially telling your action too look for the controller on your character.
So that would be the best option ultimately for the character to trigger a game over type of event? I've been trying to get the hang of ending level properly.
Enabling Behaviors is whether or not that component is turned on or off. If the component is on, your player can control the character. If it is off, the character controlling behavior will be off so your the character is essentially frozen. When you wish to control the character again, simply enable or the turn the behavior on.
So compared to Enable or Finish FSM actions, this is the best possible outcome if you trigger a event freezing or stopping the player as a alternative to Specify Character Controller?
-
This is the method I've used without any trouble. It was the solution that worked for me before I realized Enable/Finish FSM actions existed.
Once I've finished my current project I will try this method instead and get back to you.
-
This is the method I've used without any trouble. It was the solution that worked for me before I realized Enable/Finish FSM actions existed.
Once I've finished my current project I will try this method instead and get back to you.
I'd like to know what results you get when you can? Because on my end it hasn't worked so I used destroy component instead. Heres what I have for it.
https://db.tt/6WuMWxGO