[DEV] Track Import

This week I added the ability to import splines from max. We can now create a more complex track design in 3ds Max and line points up more precisely with the other world geometry, then simply export the spline as a .obj file.

Spline viewed in Max:

2017-03-14_21-29-29

Generated track viewed in Unity:

2017-03-14_21-27-21

Another thing I did this week was attempt to make the player’s velocity constant throughout the track. Before, the player would travel faster or slower depending on how the Bézier spline points were placed. This system is better now, but not quite in a final state yet.

Finally, I made the track width a little more flexible. We used to only be able to set the width of the entire track as a single value. Our artists asked for the ability to tweak the width of the track at certain points, so I added that feature this week as well.

2017-03-14_21-48-32

Next week I hope to sort out the player movement, as that is such an important system and needs a good amount of TLC before I’d consider it to be good enough.

-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