UPhysicsSpringComponent::GetNormalizedCompressionScalar

Returns the spring compression as a normalized scalar along spring direction.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsSpringComponent.h

Include

#include "PhysicsEngine/PhysicsSpringComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/PhysicsEngine/PhysicsSpring.cpp

Syntax

float GetNormalizedCompressionScalar() const

Remarks

Returns the spring compression as a normalized scalar along spring direction. 0 implies spring is at rest 1 implies fully compressed

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