I have an FPS controller, which so far works perfectly using triggers to detect colissions with bullets and the such.
But now I want my character to be able to push ragdolls and other objects in it's way.
I can't add a rigid body component to my controller, so I tried to attach a game object with it's own collision box and rigid body. It works to push doors, ragdolls and other gameobjects with rigid bodys.
I was thinking in maybe, just detecting when I collide with one of those objects and apply a force to their rigid bodies.
I was thinking in maybe, just
detecting when I collide with one of
those objects and apply a force to
their rigid bodies.
Seems like you're on the right track as I believe that's the easiest way to do it. Just apply a force in the same direction you were traveling onto the object.