Jump to content

Prototype Vehicle


Yue

2,519 views

 Share

The prototype of a four-wheeled vehicle is completed, where the third person player can get on and off the vehicle by pressing the E key.  To move the vehicle either forward or backward, is done with the keys W, and the key S, to brake with the space key.  And the principle is the same as when driving the character, a third person camera goes behind the car orbiting 360 degrees.

Vehicle.png.6ed957ac9af670e0169a5f657e99069d.png
I don't think the vehicle is that bad, but I'm absolutely sure it can be improved.  The idea is that this explorer works with batteries, which eventually run out during the night when there is no sunlight.

Translated with www.DeepL.com/Translator

 

Mechanics of the game.

I'm going to focus on the mechanics of the game, establish starting point (Landing area), after the orbiter accident on Mars where all your companions died, now, to survive, you will have to repair your suit, oxygen runs out, good luck.  This involves replacing the oxygen condenser that is failing and the suit is stuck.

On the ground and performance.

The rocks, the terrain and the vehicle kill the SPF, but there is a solution, and everything is related to the chassis of the vehicle. That is to say that if I put a simple collision bucket for the vehicle, the yield recovers, something that does not happen if I put a collider of precise calculation for the car. This has the advantage of better performance but is not very accurate, especially when the car crashes with an object in front, because the horn of the car has no collision. And the solution to this, is to put a sliding joint, as was done with the area in which the player climbs the car and descends from it.

image.png.b89e2a9a45551236ff5c3c60e23295bb.png
 

On the rocks, I am trying to make them with the slightest polygons and the most distant from each other. 
Obviously on Mars I can not create canyons, high mountains, is because the terrain does not produce shadows on itself, that's why the terrain tries to be as flat as possible, simulating a desert with dunes. 

That's all for now.

 

  • Like 2
 Share

5 Comments


Recommended Comments

Good job Yue !

However, one question is to make terrain as flat is quite unrealistic, right ? What about for rock, hollow ground or walls or ground relief ?

  • Like 1
Link to comment

The issue of the terrain is obviously that the terrain does not cast shadows, so a high mountain with a sunset makes you see in the distance the floating shadows and not the shadow of that mountain. This is because I plan to cycle day or night. Although evidently it is possible to handle with only one on the head of the player (half day) and would imply that there were not alone night or day.


On the rocks I am creating small stones, few polygons and on the relief you can put a bump map on the ground, and the result would be something like this.


Translated with www.DeepL.com/Translator

image.png.f52b45dc16dd387133e35adc08fcca79.png

 

And shadows strange effects mountains.

image.png.3e3b35f2c06902cd273bbc718daa7dc1.png

 

 

Link to comment

Ok maybe anyone can help to fix this issue ? But i can't see the shadows as strange or change for angle to point of view ? Or better it is to model in Blender and export to FBX maybe it would work on this ?

  • Like 1
Link to comment

Yes, the shadow is rare, the mountain does not produce shadow, the shadow of the character is floating, look at the shadow of the vehicle and the shadow of the character, the shadow of the mountain is missing.

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...