i was prototyping a lattice deformation setup in APEX and i am currently stuck, as i can't seem to get the initial lattice orientation to work. Also moving the joint that Controls the Lattice, moves the geometry into a different direction.
In the setup i am using localalxform instead of xform to set the lattice joint's transform -and apply an offset to it (to match the position)- , so my lattice doesn't deform when it's parent(the wheel) moves or rotates.
Would really appreciate it if someone could have a look at the file and tell me why it's not working the way i would expect it to work

Thank you,
Dani