[DEV] Movement Improvement

After adding the ability to twist and curve the track, I needed to update the player movement script to take those changes into account. The player’s position and rotation are now effected by which part of the track they are on, as you can see below.

2017-02-27_23-34-302017-02-28_09-49-20

I also added the ability for the player to dodge left and right by double tapping a direction key.

2017-02-28_10-44-08.gif

Finally I added controls for how much acceleration power and braking power the player has. This way we can tweak both values separately and even adjust them in scripts (for example for a speed boost, or for an EMP which disables your brakes momentarily)

-Andrew Weeks

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s