Transform translate


Hi everyone,
i don’t know how to translate an object like in unity using Transform.Translate.
In Xenko i see only transform.position and i don’t know how to move the Entity following the direction of the axis updated by rotations.
Thanks in advance!


I think all you would have to do is rotate the translation vector before adding it, i.e.

Entity.Transform.Position += Vector3.Transform(translation, Entity.Transform.Rotation);


I didn’t knew Vector3 methods…
It worked for me, thank you!