Method SetWorldTransform
SetWorldTransform(AffineTransform, bool)
Teleport character to a target transform
Declaration
public void SetWorldTransform(AffineTransform targetTransform, bool bKeepPastTrajectoryInWorldSpace = false)
Parameters
| Type | Name | Description |
|---|---|---|
| AffineTransform | targetTransform | |
| bool | bKeepPastTrajectoryInWorldSpace | If true, past trajectory will stay at the same location in world space, otherwise it will follow the root transform |
Remarks
This method can be used to teleport the character by providing a target world transform