hey guys,
i have this minor problem which i just can solve, sadly enough. also sorry for my bad english…
i have a scene with a player (standard character controller). the player is parent of a camera by default. this camera is a parent to a sword i added to my scene. now when i hit play, the sword wont move pertaining to the camera.
now i added a box collider to the sword, and changed it into a trigger.
i also added a capsule to the scene which has a capsule collider by default, and gave it a rigidbody. i also added the following script to the capsule.
void OnTriggerEnter(Collider other)
{
print("i'm hit by a trigger!");
}
now when i hit start, and start swinging my sword (with the box trigger collider!) through my capsule, no message is given.
now my actual question is, how do i fix this?!
i work in C# by the way.