Check If An Object Is Grounded Or Not In Unity

[Solved] Check If An Object Is Grounded Or Not In Unity | Csharp - Code Explorer | yomemimo.com
Question : check if an object is grounded or not in unity

Answered by :

// Add a character controller to your object
public CharacterController controller;
if (controller.isGrounded)
{ // Jump 'FOR EXAMPLE'
}

Source : | Last Update : Sat, 12 Jun 21

Answers related to check if an object is grounded or not in unity

Code Explorer Popular Question For Csharp