FCalculateCustomProjection

Delegate for applying custom physics projection upon the body.

Windows
MacOS
Linux

Type

typedef TBaseDelegate_TwoParams< void, const FBodyInstance *, FTransform & > FCalculateCustomProjection

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/PhysicsPublic.h

Include

#include "PhysicsPublic.h"

Remarks

Delegate for applying custom physics projection upon the body. When this is set for the body instance, it will be called whenever component transformation is requested from the physics engine. If projection is required (for example, visual position of an object must be different to the one in physics engine, e.g. the box should not penetrate the wall visually) the transformation of body must be updated to account for it. Since this could be called many times by GetWorldTransform any expensive computations should be cached if possible.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss