Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: BowDown2Anthony on September 16, 2013, 03:52:46 PM
-
Hello everyone!
I apologize if this is a basic/remedial question, I have only been using Unity/Playmaker for a few months:
I want to freeze my Character's movement during a few different states, any idea on how I can do this? I have searched the forums but have not had any luck on finding how to temporary disable/block player input. Currently, I have been creating/destroying a box collider that spawns around the player- but it is a sloppy method.
Looking forward to your help!
Thanks
-
Is your character using input movement from Playmaker?
If so you just new to create a new state called Stopped state and leave it empty of input actions.
Cheers
Seb
-
Unfortunately, the character isn't using playmaker for movement. The character input is currently set via a touchscreen/wsad controller.
-
bump
-
You could try disable your character controller/ rigidbody or your movement script.
Do you get my idea?
You have the checker made in Playmaker and once it´s just disable your component.
Cheers
Seb
-
Can you code a bit? You could just add an empty method and invoke it from playmaker to stop the controller script from doing anything, then invoke another the awake method to restart the script.
Could work.. I think.... Maybe..
-
I don't have any coding knowledge/experience. Would anyone like to help me add this function to my game? I'm willing to pay a little bit to get this finished.. Ideally, i just want an action or state that will disable the player's input/movement during dialogue.
-
Man if you could try disable your movement script that could help you a lot.