|
Post by stormspirta on Aug 19, 2020 20:57:24 GMT
I have problem when i have Smoothness more than 0 Moving character with Rigidbody2D in FixedUpdate Using Pixel Perfect. Tried both Update Types private void FixedUpdate()
{
Direction = playerInput.Player.Move.ReadValue<Vector2>();
movementComponent.Move(Direction);
} public void Move(Vector2 direction)
{
if (IsMovingToTarget) return;
rb.velocity = direction * 5;
} ru.files.fm/f/cmhtdkyy
|
|