C4 Engine
C4 Engine API Documentation

Node::StopMotion

Defined in:  C4Node.h
Resets the motion information stored for a node so that motion blur is correctly stopped.
Prototype

void StopMotion(void);

Description
The StopMotion function should be called when a node that has been in motion stops. This function ensures that the previous transforms used for rendering motion blur are reset so that motion blur does not continue to be applied to a stopped object. When the StopMotion function is called, it affects the node for which it is called and its entire tree of subnodes.

The Node::InvalidateNode function should always be called for the same node during the same frame when the StopMotion function is called. Failing to do this will result in motion blur artifacts.
See Also

Node::InvalidateNode