- Home /
problem with climb state in UFPS
Hello there!!!
I'm Using Ufps Climb feature to climb ladders. it was working perfect...But when i added these following codes... my player couldn't able to climb the ladder. he got stuck when he tries to get on the ladder
if(prone_flag)
{
m_Player.SetState("Prone",true);
}
if(!prone_flag)
{
m_Player.SetState("Prone",false);
}
where m_player is the type of vp_FPPlayerEventHandler.
I Got stuck here can anyone suggest me a solution???
Comment
Best Answer
Answer by PICHU · Jan 30, 2014 at 07:03 AM
Found the solution,
There was no state "Climb" added in vp_controller and vp_camera. I worked on some tweaks for the state and added it to the vp_controller and vp_camera scripts with the state name "Climb".
now the climbing part works fine...
Did you have the issue that the climb animation was allways playing?