Search Unity

Bouncing

Discussion in 'Physics for ECS' started by shotoutgames, Jan 26, 2020.

  1. shotoutgames

    shotoutgames

    Joined:
    Dec 29, 2013
    Posts:
    290
    Do the objects in dots physics bounce? Sounds silly but can't get objects to bounce off each other.
    I replaced collider and rigidbidy on character with equivalent body and shape and now it falls through the floor.
     
  2. Kmsxkuse

    Kmsxkuse

    Joined:
    Feb 15, 2019
    Posts:
    306
  3. shotoutgames

    shotoutgames

    Joined:
    Dec 29, 2013
    Posts:
    290
    my case is different because I am using hybrid player character. Basically a regular third person character game object but trying to use dots physics collider and shapes instead of rigidbody and standard colliders.
    Requires using convert and inject game object instead of convert and destroy as the video
     
  4. Sima_Havok

    Sima_Havok

    Joined:
    Dec 16, 2019
    Posts:
    52
    There is no out of the box two way bridge between game objects and entity data.
    Game object date gets converted to entity data once at the beginning so neither simulation result ever get back to game object data nor game objects data gets pulled into ECS data after initial conversion.
     
  5. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,853
    Have you tried upping the Restitution value? That controls bounciness of a rigidbody/physicsbody