Fixed local rotation to actually work. Transform now requires an immediate Entity reference.