Builtin Library
README.md
phys.addConstraint
Add a transform constraint that makes one entity follow or track another every frame. The constraint runs on the constraints system rather than the physics solver, so it works even on entities without a physics body. Choose the relationship by type: "position", "rotation", or "scale" to copy that channel of the target, "lookat" or "aim" to orient toward it, or "parent" for a full local-space parent relationship. Options adjust the offset, the affected axes, and a blend weight. Returns the entity ID.