rb.MovePosition(rb.position + movement * PlayerSpeed * 0.5 * Time.fixedDeltaTime);
is there a other way to get the 0.5 here because i get a error now.
rb.MovePosition(rb.position + movement * PlayerSpeed * 0.5 * Time.fixedDeltaTime);
is there a other way to get the 0.5 here because i get a error now.
Did you consider saying what the error was?
If I had to guess it’s because you’re using “0.5” which in C# means double-precision. Presumably you want single precision so use “0.5f”.
Thank you so much.