Im creating a new game right now.
and ive made a base object under a square(main character) and checked the " Is trigger" option on my base object and checked the “Is Kinematic” on the rigidbody and the all the freezeRotation boxes. Everything worked fine until i put a long box in the middle of the stage and i pressed my cube against long box and he can jump infinetly everytime hes being pressed against the block.
how can i fix this?
base obj code
var isGrounded : boolean;
function OnTriggerStay()
{
isGrounded = true;
}
function OnTriggerExit()
{
isGrounded = false;
}