Jump to content

Recommended Posts

Posted

I think I asked a question about this a long time ago but can't remember, BUT I notice that when running the fpscontroller.lua that the controller slides when coming to a stop instead of just stopping instantly. I looked at the max accel param and have it set to 500,000 (I've tried a sorts of large numbers), yet it still never instantly stops when I let go of the W key. Is this just the way the controller is?

 

I'm running this in the editor and have 70 fps so I can't attribute it to a low frame rate.

Posted

But instantly stopping player characters are horrible. It's much nicer to have real acceleration and decceleration.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Posted

How does one do that?

 

I assume SetBodyFriction()? Do you know if that works on a controller because I know not all physics functions work on the controller since it's "special"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...