Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Resolved Built in Origin Shift? GlobalPosition instead of float3

Discussion in 'DOTS Dev Blitz Day 2023 - Q&A' started by JesOb, Aug 23, 2023.

  1. JesOb

    JesOb

    Joined:
    Sep 3, 2012
    Posts:
    1,081
    What progress UT have on Big World field?

    I want as simple as possible system like OriginShift system + GlobalPosition and WorldPosition structs

    WorldPosition is just wrapper around float3
    GlobalPosition is double3 or float3 + int3 or something

    Generate with SourceGenerator jobs to update all components on entities with WorldPosition field -> shift it :)
    Data in collection need to be updated by hand or somehow registered so system can upgrade it automatically.

    But we users need just to use WorldPosition for anything with world positions instead of float3 to support OriginShift.

    But What plans have unity and what Api unity want to provide for us?
     
  2. jivalenzuela

    jivalenzuela

    Unity Technologies

    Joined:
    Dec 4, 2019
    Posts:
    67
    It's an area of active development. We're in the early design stages so I wouldn't expect a release anytime soon.
     
    saskenergy, thelebaron and JesOb like this.