How to push a character away when falling on them or moving towards them?

Probably with velocity :person_shrugging: :

Since you’re telling the CMC what to do, this will propagate to all other systems that rely on it - collision, friction, physical interactions and so on.


Another, more nuanced way:

  • apply radial damage with Damage Type Class (make a new Displace class, lets say)

  • use the damage type to preprocess damage values and have the recipient instead apply velocity change to itself:

As a massive bonus, you’ll get the Damage Prevention Channel (last pin of the top node) which will allow you to hide behind obstacles.

2 Likes