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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback