Announcement

Collapse
No announcement yet.

Does each level has its own coordinate system?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Does each level has its own coordinate system?

    Let's say we have two levels which are 10m x 10m big.Let's also call the first one Level A and the second one Level B.
    Level B is aligned directly to the right of Level A.

    Our character spawns in Level A at position 0,0,0. He now moves 10m to the right and is now in Level B( level streaming). What is the location of our character?

    Is it 0,10,0? Or is it 0,0,0 again because the character is now at the origin of Level B?

    #2
    There is just one co-ordinate system that all levels are loaded into. Having said that, if you are using the in-development World browser feature, it will 're-center' the whole world on you when you get far enough from the origin.
    Lead Programmer - UE4 Animation/Physics/Audio Team - Epic Games
    Twitter: @EpicJamesG

    Comment

    Working...
    X