Announcement

Collapse
No announcement yet.

[Android lighting discussion] Change mobility at run time

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

  • replied
    You shouldn't need to move the environment around your character. UE4 will re-base all objects if the camera moves too far away from the origin (it will change the location of all objects so the camera is at the origin) so there should be no problems with an endless runner using static environment.

    Leave a comment:


  • [Android lighting discussion] Change mobility at run time

    I'm developing a game for Android mobiles. I'm trying to get around lighting and textures issues which really bad and I'm really depressed after spending long long time to make it work !, Okey here's my problem in details:


    My game is an endless runner, instead of making the player moving I'm moving all the environment around.
    The environment need to have good textures,and as you know there's an existing problem with textures and dynamic lighting for mobile which force you to make all of your meshes to be static in order to get the proper lighting and showing the textures it self !, if you don't so you'll have a mesh with black texture !
    I discovered a solution and it's REALLY WEIRD ,you need to put any other static mesh below/inside or above your dynamic mesh, the distance should be near.
    yea it worked ! but it seemed too WEIRD for me so I decided to think of something else instead of putting dummy things to solve the problem.
    I was thinking of setting their mobility to static,then at run time changing it back to movable so I can move my environment !
Working...
X