Author Topic: Friction Setting  (Read 1106 times)

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Friction Setting
« on: October 14, 2018, 01:00:26 PM »
I need this for Castle Chamber!
This setting will modify how much the player will slide in the normal ground when the player stops pressing the move key!

I don't understand how real physics work, but this is how I imagine:
Friction = 0 will make the player slide infinitely when the player stops pressing the key, if you press left, and then you release it, the player will move to the left until another key is pressed.

Friction = 100 will make the player stop immediately when the key is released.
If you press left, and then you release it, the player will instantly totally stop! That's what I need for my game!
Sorry because my English is not very good because I'm Spanish ;) :P

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Friction Setting
« Reply #1 on: October 14, 2018, 07:14:25 PM »
Alley told me about this on steam chat.