#Can't move hinge joint door with the character controller component

1 messages · Page 1 of 1 (latest)

waxen yoke
#

I made a door with a hinge joint and rigidbody and it works when I throw other objects at it that have a rigidbody.

Problem: I use the Unity Character Controller (Does not have a rb to my knowledge) and therefore does not interact with the hinge joint/rigidbody of my door.

Is there another way to interact with it using the build in Character Controller?

raven aspen
#

I don't think there's a built-in way.
However, you can use the OnControllerColliderHit message (which works similar to OnCollisionStay), to apply a force/torque to the joont's Rigidbody, once you run into it.