Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: coffeeANDsoda on February 16, 2015, 04:01:59 PM
-
How would a playmaker user go about pulling that off? Having a cutscene where the player is climbing up one without not having control over it.
-
best way would be to use triggers and and animations and move the player along the y axis. you can disable your controls as well so that the player cant control whats going on.
-
But the trigger would be on a separate fsm vs adding another to the player?
-
yeah just use go by tag
-
When I use itween move add with the vector parameter after having another state use set position action with the player as a game object it doesn't lift it?
-
you can use a linear transition since your applying a animation so i dont think move add is needed. you can also try moving it with force just set the force to like .0001 or something smaller depending how fast you want to move and just when then just turn it off when you reach the top with a wait command and a transition to a end state that re enables all your controls itll take a bit of testing to perfect it but it'll work try break up the transition's. what i usually do when im debugging stuff for events is ill break up my fsm states into multiple small ones that use next frame events to move it through the string so i can see where it might stop ot where things might not be working correctly easier to read this way and when its all done you can condense it into 3 or 4 instead of 8 or 9 ec
set position wont move your character up vertically if you have your y axis frozen neither will add force. that is if you have a ridged body component attached to the character
-
You can parent the player to the ladder when enter the trigger and use iTween Move To and set Space to Self.
-
You can parent the player to the ladder when enter the trigger and use iTween Move To and set Space to Self.
When game object part of the get child action is set to specify? Problem I have with that is in order for the players input to do anything(mouse look, character controller, FPS script controls), it has to be the parent. Odd, when I set space to self, the player went off the stage. Plus if I do use get child, I'm suspecting that one would have to create a global variable that contains an empty object?
set position wont move your character up vertically if you have your y axis frozen neither will add force. that is if you have a ridged body component attached to the character
Set position can't even be used for repositioning the player before a wait action is applied before transitioning into another state? The thing is I use Wait for each state dealing with movement to work at all. So, if I use rigidbody on the player that would help even though it has a character controller?
-
As reference for the problem I'm having.
https://db.tt/JpCbOuLH
https://db.tt/4L47zQ6U
https://db.tt/e9tAlSun
https://db.tt/cUwtzZyC
https://db.tt/LoXJpqLx