In registerOnPhysicsCollide callback function , I am not able to modify global variables , I am Creating a simple ground check using collision . When my player is touching the ground I want my Bollean to set to true and when player is in air I want it to set to false. after checking the bollean and input my player should jump.
Hi @kubo ,
Welcome to the forum!
Do you want to share a reproduction on the playground so we will have a starting point to help you?
Hello @kubo are you still having issues?