This week I began work on the physics system for the game.
When switching from one form to another, the way the vehicle handles, and also responds to the environment will change significantly.
I began by getting the feel for the track section right, because cars have direct contact to the road and high torque sports engines are designed to provide alot of low end power, the acceleration would probably be highest among all the vehicle types.
Also, because of the direct contact to a specially designed racing ciruit it will have a good turning grip, however the disadvantage is that the tyres are specifically designed for tracks, upon hitting the grass the grip will be lost and the car will slow down significantly.
The boat will have slightly less speed as the direct traction of tires cannot compare to an induction pump system, unless significantly more powerful, which in this situation I chose not to make this adjustment.
Also, the turning is much slower as boats cannot use friction to turn the same way a car does.
The plane will be the fastest form, this is inevitable as the process by which it maintains flight requires fast continous speed. It also has good turning due to planes being able to bank corners whiel airborne.
The off-road vehicle will be faster than the boat, but slower than the track car. It also turns slower than the track car, but not a significant detriment.
I have also changed the collisions so that it should be impossible to travel over the stands, and there is now a ring around the lake rather than a distinct path, this means that the player can take any path they choose, so long as they pass through the checkpoints.
The ring around the edge, rather than just slowing, records the direction of travel, and rotates the boat swiftly until it points back towards the center of the lake.
I also removed the collisions on the plane, so that it can travel anywhere on the sand, however it must still pass through the checkpoint in order to make the transformation to off road. If you try to leave the sand, a collision similar to that around the lake forces the plane to turn back.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment