Move OmniLight

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By PtrMan

How to (procedurally) update the position of a OmniLight object?

I tried the following without any success (TestLight2 is a children of the Node to which this script is attached, tx and tz are valid float var’s)

:bust_in_silhouette: Reply From: PtrMan

The light must not be a parent to work correctly


force_update_transform() is not necessary