Horje
how to add gravity without rb in unity Code Example
how to add gravity without rb in unity
public float gravity;
Vector3 velocity;
public CharacterController controller;
void Update()
{
	velocity.y += gravity * Time.deltaTime;
    controller.Move(velocity * Time.deltaTime);
}




Csharp

Related
c++ printwindow chrome Code Example c++ printwindow chrome Code Example
c# is not marked as serializable Code Example c# is not marked as serializable Code Example
default route in asp.net core Code Example default route in asp.net core Code Example
set-variables-from-an-object-using-reflection Code Example set-variables-from-an-object-using-reflection Code Example
unfreeze position in unity Code Example unfreeze position in unity Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10