- Home /
How to "increase" speed on an object? C#
How does one increase the speed of an object incrementally after every second? lets just say that every second counts as a 0.200 Velocity increase.
C# increase?
Answering this question depends on whether you are translating your object, using a character controller, or using a Rigidbody. If you have a variable called speed, you can increase it every second by doing something like:
speed += 0.200 * Time.deltaTime;
But my guess is that you want more than this.
Answer by asdasdassadas · Mar 27, 2013 at 07:45 PM
It would mean so, in other words think of it as a highway - and the object is moving faster and faster.
Don't use an answer to add more information. Use the comment link. You can convert this question to a comment by using the "more" dropdown menu. Note by putting your comment in an answer field, it will be far less likely you will get additional answers (since you already have one). As for an answer to your question, we need to see your current source code to see what you are doing.
woops sorry - got addicted.."scroll down and find that "post" button" lol
Your answer
