Search Unity

Resolved How do I Interpolate DOTS physics?

Discussion in 'Physics for ECS' started by Conspiracy, Jan 8, 2020.

  1. Conspiracy

    Conspiracy

    Joined:
    Oct 22, 2016
    Posts:
    40
    Hi,
    I'm currently making a game that requires physics to control the player's character (a ball/sphere) and so I need interpolation for the physics.

    So how can I do that?

    I know there's an option in the RigidBody for GameObjects to use turn on interpolation but there isn't one for entity's physicsBody or physicsStep.
     
  2. Adam-Mechtley

    Adam-Mechtley

    Administrator

    Joined:
    Feb 5, 2007
    Posts:
    290
    Hi! This is something we are investigating as part of a larger question in entities concerning stepping systems at different rates, but there is nothing built-in right now. You would need to manage this on your own in some way in the meantime.
     
    Conspiracy and Mr-Mechanical like this.
  3. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,074
    Is this information still valid, there is no interpolation in DOTS and we have to do it manually ?
     
  4. Churd

    Churd

    Joined:
    Dec 12, 2015
    Posts:
    126
    daniel-holz and koirat like this.