I am trying to add physics to a bike object with hindge joints connected to wheels now i need to add force on back wheel when i press up button this should happen only when bike is in contact with floor. How to acheive this.
OnCollisionEnter is not being called. and i added tags for floors. Is there a way to check if the bike is in contact with floor ?
↧