SceneTrace IgnoreKeyframed()

robot_2Generated
code_blocksInput

Description

The IgnoreKeyframed method in the SceneTrace class is used to configure a trace operation to ignore keyframed objects. Keyframed objects are typically those that are animated or have their positions set explicitly over time, rather than being influenced by physics simulations.

Usage

Use this method when you want to perform a trace that should not consider keyframed objects as potential collision targets. This can be useful in scenarios where you are only interested in dynamic or static objects that are not being explicitly controlled or animated.

Example

// Example of using IgnoreKeyframed in a SceneTrace
SceneTrace trace = new SceneTrace();
trace.IgnoreKeyframed();
SceneTraceResult result = trace.Run();

// The result will not include any keyframed objects.