SceneObject.change_position

giant.ray_tracer.scene:

SceneObject.change_position(new_position)[source]

Change the location of the object in the current frame.

This is done by first subtracting off the old position then adding this value.

To update the location instead of changing it see the translate() method.

Parameters:

new_position (Sequence | ndarray) – The new location for the object in the frame