Absorbing impact force during collision in a Car racing game

Micheal mystics

I am making a racing game and I want to impact between the wall and the car to be absorbed to the level where the car travelling at high-speed cant be thrown away in the other direction due to the large force... The video below shows how the car is booted away, and I want to reduce that to the minimum https://youtu.be/wGtMAXLG4b8

SeLeCtRa

You can set PhysicMaterial.bounciness as 0, if you don't want this effect at all. Or change it as you wish.

How bouncy is the surface? A value of 0 will not bounce. A value of 1 will bounce without any loss of energy.

So, optimum value can be found with a few gameplay test. If you set it to 0, car won't lose any energy at all, so speed will be same. If it is 0, car's speed will be 0 and all energy will convert to the momentum.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to make Top-Down Racing game background move in opposite direction of car

From Dev

Bullet physics(ammo.js in asm.js) how to get collision impact force

From Dev

Calculate a distance in for racing game in python

From Dev

SpriteKit Racing top down Game

From Dev

Collision for Pygame Game Map

From Dev

Collision detection in javascript game

From Dev

Image Collision during animation

From Dev

Image Collision during animation

From Dev

Box2D collision impact calculation

From Dev

Box2D collision impact calculation

From Dev

Building Player for car game

From Dev

Javascript Canvas Game - Collision Detection

From Dev

Who had the car during July

From Dev

Does the size of a monitor impact game performance?

From Dev

force dragend when collision is detected in kineticJS

From Dev

force dragend when collision is detected in kineticJS

From Dev

Collision detection in java 2d game

From Dev

Collision detection in javascript canvas tanks game

From Dev

Solving 2d game collision (polygons)

From Dev

Java Game Physics - Determine intersection and collision detection

From Dev

Trying to use quadtrees for collision detection in a game

From Dev

Game score via collision detection increment

From Dev

Collision dubbels up overtime you restart the game

From Dev

Java Mario game collision between enemy and blocks

From Dev

Trying to use quadtrees for collision detection in a game

From Dev

Collision Detection for fast moving game object in Unity

From Dev

Problem with collision detection is JS canvas game

From Dev

Disappearing a sprite during boundary collision in libgdx

From Dev

ImageView ObjectAnimator transition + collision detection during transition

Related Related

HotTag

Archive