I want to use llSetLinkPrimitiveParams to put a disk (child prim), flat against the surface of a larger sphere (root prim). I have found how to calculate the cartesian coordinates (this is starting from latitude/longitude basically) to put the child in the right place with PRIM_POSITION but nothing I have tried with, for example, llRotBetween() seems to put the child in the correct orientation (using either: PRIM_ROTATION or PRIM_ROT_LOCAL). Has anyone done this (or knows how to)?