Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Earthquake in Unity - Simulation of P and S Waves

Discussion in 'Physics' started by mekartikshah, Nov 30, 2018.

  1. mekartikshah

    mekartikshah

    Joined:
    Jan 10, 2017
    Posts:
    89
    Hi everyone,

    I am trying to simulate how Earthquake takes place in real time which you cannot simulate in the real world. Here is the reference link to understand the basics of Earthquake and to understand better here is the better-simulated Example. I wanted to Simulate P and S Waves. My first attempt will be simulating with mesh instead of showing lines, I don't know how to compress mesh (P Waves) but I found out a good example to simulate wave like effect (S Waves).

    The solution I am looking forward to is :

    1. Any idea of how I can compress - decompress mesh in Unity (P Waves).
    2. wave like effect (S waves), I have an example but it moves only Plane, in my case, i want to do more like a deformation of mesh, so it gives me an real effect like S Waves.