On Scene start my character plays jumping animation HELP PLZ

what about the RESET? Does it has apply_jump_velocity()?

no it doesnt

This is the inspector for the transition between UnfocusedLocomotion and Jump_Start

I see you are printing a message as part of the apply_jump_velocity() function. Does it appear when you start the scene?

yes it does

Then we know the function is being called. And that most probably is what produces the jump. Nothing in the script is calling that function. Which means the function is being called from outside the script. The animation Jump_Start calls it, so far we don’t know if something else does. Assuming nothing else calls apply_jump_velocity() then Jump_Start is the suspect. The question is why?

So, does your character starts in the air?

no he starts on ground

Show me the Inspector for the transition between Jump_Start and Jump_Iddle.

Change it to enable on both focus and unfocused. And try again.

It still does it and also makes when i jump normally the landing animation activates late

Ok then change it back. Clearly that wasn’t it.

try creating a direct transition between Locomotion and Jump_Iddle and put it on enable. I want to see if it bypasses Jump_Start at the start.

yes it goes straight to jump_idle while on floor

That looks right, I guess. Must be the hour making me sleepy. Well I must be missing something, I bet the answer is on there somewhere. You gave a lot of information, so the answer should pop up eventually. Take care.

1 Like

ok then thanks anyway

On the script tab theres a search tool for scripts. It can search all scripts for anything. I suggest you search for the following terms: begin_jump(), Jump_Start and apply_jump_velocity(). They all should only be found on the player script, but if they are in another script that should appear with this tool.