Why doesn't an animated object push the character?

HI! How can I fix this? I want when the door opens the character is pushed.

This never has worked, unless the player is moving.

If you really want to, you can use code to do one of

  1. Move the player out of the way

  2. Use physics

  3. Stop when you hit the player

1 Like

Hello! (@WDRK23) and @ClockworkOcean:

Correct me if I’m wrong, but can’t WOODREK animate a plane (hidden in game) that follows the animation of the door? The reason the door doesn’t move the player is because the collision of the ENTIRE OBJECT is likely ONE COLLISION MESH.

The collision of the plane will move the character.

1 Like

I beg to differ :slight_smile:

2 Likes

Then I’m wrong. I haven’t tried it, just spitballing!

2 Likes

ohh… I don’t like what I hear:)) But I will try each one

1 Like

Detect the collision, take the impact point of the initial transition on the object (framerate permitting that should always be on the capsule and not inside of it).
Move the player’s capsule to follow that point until the object is done moving.

Normally you just do this via interface calls. Think of it as catch and release of the player.

Later on. When you evolve your skills and characters you can just use the same interface call to play a “get out of your own way” animation, like most AAA games do. Root motion on that usually prevents collision, but the toggle allows you to disable/change the channel momentarily, so you dont even have to worry too much about it.

1 Like