UChaosVehicleSimulation::AddForceAtPosition

Add a force at a particular position (world space when bIsLocalForce = false, body space otherwise)

Choose your operating system:

Windows

macOS

Linux

References

Module

ChaosVehicles

Header

/Engine/Plugins/Experimental/ChaosVehiclesPlugin/Source/ChaosVehicles/Public/ChaosVehicleMovementComponent.h

Include

#include "ChaosVehicleMovementComponent.h"

Source

/Engine/Plugins/Experimental/ChaosVehiclesPlugin/Source/ChaosVehicles/Private/ChaosVehicleMovementComponent.cpp

Syntax

void AddForceAtPosition
(
    const FVector & Force,
    const FVector & Position,
    bool bAllowSubstepping,
    bool bIsLocalForce
)

Remarks

Add a force at a particular position (world space when bIsLocalForce = false, body space otherwise)