Pulsedrive will be a single-player experience of high speed.You will be able to choose between three different ships, which are accelerated by the pulse of music. Because the music becomes faster and faster it will be more and more difficult to steer your ship through the courses. The longer you are able to control your ship without crashing into the wall the higher will be your score. Your ship is limited in stability. Passing gates activate a multiplicator for points, which is increased when you pass gates one after the other.

Report article RSS Feed PD - Physics and Flags

After months of bugfixing the basic ship-physics is working correctly and we have created some flags for decoration which use the new [w]tech LOD feature!

Posted by unrealer2 on Apr 14th, 2012

We released many news about assets and the style of Pulsedrive. Now we are ready to start with the core of our game: Gameplay


>>Physics

There were some obstacles for the ship physics which slowed down the production. As you know we are using the Bullet-Physics Engine in [w]tech which worked already well for standard collision. However, Pulsedrive will be a very fast experience and our collision hulls refused to block very fast objects. In addition, our ship had problems with staying on the ground. But now we have solved this problems and we want to give you a short overview about our concept:

Most important decision was to use three objects to represent one track-segment.
Physics and Flags - News

First one is the only one rendered in the later game. Second is a simplified collision hull, which is used for standard physics. The third object is a special surface for the ship to keep a certain distance and the right orientation. At first we tried to use the collision hull for this purpose too but the we ended up flying at the wall and drifting into infinity. This three objects are combined in one 'MeshSet', which can be handled in the editor as if it were one object.

So this 'Ray Mesh' is used by the "springs" - keep in mind that they only exist in our script as invisible rays - beneath the ship for collision.
Physics and Flags - News

Whereas this springs are just a illustration, it will give you a feeling like the ship is really hovering above ground. Additional we shoot a extra ray into this 'Ray Mesh' to keep the right orientation for the ship.
Another problem was breaking through the walls of our track. First thing was to fix some bugs of the Bullet implementation but this was not a full success. Therefore we decided use invisible rays as distance keepers.Physics and Flags - News
Now you should have rough overview about our ship physics. At the moment we are fixing smaller problems and add more features. Be prepared for a video!


>>Flags

Physics and Flags - News
Again a presentation of something visual for Pulsedrive. Today many games use cloth physics for flags to create a realistic look. But this would be an overkill for our use, so we decided to use a combination of normal map and vertex shader to animate our flags.

To avoid boring repetition in the animation we use the world position of the flag model in the shader to get some randomization. This enables us to have unique flag animations for every flag without any effort. The flags benefit a lot from the new LOD-System of [w]tech. If you are far away from them, their polygon count is very low. But when you come close it increases in several steps and allows the vertex shader to do its work on a smooth way.


PD - Flags


Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
Pulsedrive
Platform
Windows
Developer
[w]tech team
Engine
[w]tech
Contact
Send Message
Release Date
TBD
Game Watch
Track this game
News
Browse
News
Report Abuse
Report article
Related Games
Pulsedrive
Pulsedrive Single Player Racing
Related Engines
[w]tech
[w]tech Creative Commons TBD
Related Groups
[w]tech team
[w]tech team Developer with 3 members