Scarlet Thread
Member
|
Update Order
Is there a way for me to control the update order of Game::Obj's in the World? the order seems to seems to change randomly over time.
Cheers.
|
|
05-23-2013 03:30 PM |
|
Esenthel
Administrator
|
RE: Update Order
You can only use Game.Obj.reliesOn
For example you have a Character riding a Horse (like in ERPG2).
You may want to update the horse first (to set its animations), then update character (to animate accoring to horse animation).
You just return the horse in the characters reliesOn method and engine will handle proper updating order.
|
|
05-23-2013 03:37 PM |
|
Scarlet Thread
Member
|
RE: Update Order
Thanks that will do the trick
|
|
05-23-2013 03:54 PM |
|