Download

Question about collisions with moving object

Hi - I’m trying to create a ‘trap’ - when a player steps on a pressure plate, I want a panel to fly out of the wall, smack into the player, inflict grievous injuries, and then turn the player into a ragdoll.

The pressure plate triggers a timeline, which rapidly moves the wall toward the player using ‘setRelativeLocation’. I am trying to get the wall to push the ragdolled player once they collide. Unfortunately, the collision doesn’t seem to work when the wall is moving - the collision doesn’t occur and the wall goes right through the player.

The wall DOES have collisions enabled - the player can’t walk through it when it’s stationary and the collision box also works when it’s stationary.

Does anyone have any suggestions? Thanks!

on the set relative loc node enable sweep