1
Ask a Question / How do I set linear drag above 1? [Solved]
« on: February 28, 2017, 07:17:46 am »
Hello,
I am making a game where the player moves the character by holding down click, and the character is pushed towards the position of the click.
A problem I ran into is when the player releases left click the character continues coasting for too long, making it hard to control consistently.
The linear drag for the character actor is set to full, but I am trying to find a way to set it above 1 so that the character slows down faster.
A long time ago I thought I saw a thread explaining how to do this, (an extension I think) but I cannot find it anywhere. Does anyone know where that extension is, or is there a line of code I can add, or is there another way to get the same effect?
Thanks.
I am making a game where the player moves the character by holding down click, and the character is pushed towards the position of the click.
A problem I ran into is when the player releases left click the character continues coasting for too long, making it hard to control consistently.
The linear drag for the character actor is set to full, but I am trying to find a way to set it above 1 so that the character slows down faster.
A long time ago I thought I saw a thread explaining how to do this, (an extension I think) but I cannot find it anywhere. Does anyone know where that extension is, or is there a line of code I can add, or is there another way to get the same effect?
Thanks.