How to make the player jump

I am trying to make the player jump.
In unity C# I would remove the NavMeshComponent via agent= GetComponent;
Link: navmesh - Unity - How to jump using a NavMeshAgent and click to move logic - Stack Overflow

In lua I have the code agent= object.GetComponent(self,) but at type=component type NavMeshAgent doesn’t exist.

Any help? Thanks

1 Like

Hi Supepaala! I suggest making a prefab variant for your player character. You can just remove the component from the prefab itself :slight_smile: