actor floating in air not requested

image

I have this problem with an actor.
Is spawned by the hay, jumps in air and keep it floating?
How can i solve?
I tried enabling physics but in this way doesn’t jump any more
Thanks of all

  • if the player wanted to jump over the log, could they?
  • could we see the component hierarchy of the floating actor?

yes, the player can jump over the log
that is the script instead
thanks

Please?

that is the script instead

What is this for?

is the script of the hay that make the actor jump

maybe you mean this

image

1 Like

is the script of the hay that make the actor jump

Which actor? Could you explain what is supposed to happen? You already have a dude walking backwards:

image

He hits the log hay bale. You are then spawning ANOTHER dude?! A different one? What happens to the old one?

What is going on?

image
the actor who should not float is the guy in the explosion
the guy marked with your arrow has other problem that i will face further

in this blueprint is spawned an actor in an arrow
the actor do jump animation
jumps
stop jumping
stop animation
set movement mode walking

and floats in air, doesn’t come back to the ground

Shouldn’t this be set to falling?

doesn’t work, is stil floating
however how can i set collision or other settings for avoiding floating?

When it comes to how the movement works:

Collision is in the Capsule Component:

other settings for avoiding floating


The thing is that spawned characters do not normally float. You’d need to set them to flying. Or disable gravity.

Are you sure this part of the script even triggers:

Because we do not see the guy in the brown clothes jump - this bloke vanishes and a new one appears in the sky…


Could you change this:

image

To Always Spawn

image
unluckly the problem is still not solved
the guy in blue trousers still floats in air

the guy in you video who disappears is not involved in this problem, it has a ragdoll problem who i will post in another topic

Could you show the settings of the Character Movement Component? Similar to what I did here.




image

1 Like

I managed to reproduce it, give me a sec. It’s this:

image

Should be set to Spawned. No need to change the movement mode or make it jump unless you do want them to jump, ofc.

1 Like

unluckly still doesn’t work :frowning:

Are you sure it’s on the spawned class?

1 Like

the actor is both spawned than placed in world
when spawned still float
when placed in world the AI doesn’t work

If the two are behaving differently, then they’re not the same class/sub-class.

Can you post a video of you doing this:

1)You’re going to navigate to the DEFAULT PAWN CLASS
2) Press the BROWSE TO button
3) Drag in that actor

They should behave the same.