Skip to content

RB_BodyInstance

Class in Engine · Engine.RB_BodyInstance · native

Object › RB_BodyInstance

Using it from Lua
h7.find_all("RB_BodyInstance")            -- live instances
h7.find_class("Engine.RB_BodyInstance")   -- the class
h7.hook("Engine.RB_BodyInstance.EnableBoneSpring", fn)

Properties

NameTypeNotes
bDisableOnOverextensionbool
bEnableBoneSpringAngularbool
bEnableBoneSpringLinearbool
bEnableCollisionResponseboolconst
bForceUnfixedbooltransient, private
bInstanceAlwaysFullAnimWeightbooltransient, private
bMakeSpringToBaseCollisionComponentbool
bNotifyOwnerOnOverextensionbool
BodyDatapointerconst, native
BodyIndexintconst
BoneAngularDampingfloatconst
BoneAngularSpringfloatconst
BoneLinearDampingfloatconst
BoneLinearSpringfloatconst
BoneSpringpointerconst, native
BoneSpringKinActorpointerconst, native
bOnlyCollideWithPawnsboolconst
bPushBodyboolconst
bTeleportOnOverextensionbool
bUseKinActorForBoneSpringbool
ContactReportForceThresholdfloat
CustomGravityFactorfloat
InstanceDampingScalefloat
InstanceMassScalefloat
LastEffectPlayedTimefloattransient
OverextensionThresholdfloat
OwnerComponentPrimitiveComponentconst, transient
PhysMaterialOverridePhysicalMaterialconst
PreviousVelocityvector
SceneIndexintconst, native
Velocityvector

Functions

NameDeclaration
EnableBoneSpringfinal native function EnableBoneSpring(bool bInEnableLinear, bool bInEnableAngular, const out matrix InBoneTarget)
EnableCollisionResponsefinal native function EnableCollisionResponse(bool bEnableResponse)
GetBodyMassfinal native function float GetBodyMass()
GetPhysicsAssetInstancefinal native function PhysicsAssetInstance GetPhysicsAssetInstance()
GetUnrealWorldAngularVelocityfinal native function vector GetUnrealWorldAngularVelocity()
GetUnrealWorldTMfinal native function matrix GetUnrealWorldTM()
GetUnrealWorldVelocityfinal native function vector GetUnrealWorldVelocity()
GetUnrealWorldVelocityAtPointfinal native function vector GetUnrealWorldVelocityAtPoint(vector Point)
IsFixedfinal native function bool IsFixed()
IsValidBodyInstancefinal native function bool IsValidBodyInstance()
SetBlockRigidBodyfinal native function SetBlockRigidBody(bool bNewBlockRigidBody)
SetBoneSpringParamsfinal native function SetBoneSpringParams(float InLinearSpring, float InLinearDamping, float InAngularSpring, float InAngularDamping)
SetBoneSpringTargetfinal native function SetBoneSpringTarget(const out matrix InBoneTarget, bool bTeleport)
SetContactReportForceThresholdfinal native function SetContactReportForceThreshold(FLOAT Threshold)
SetFixedfinal native function SetFixed(bool bNewFixed)
SetPhysMaterialOverridefinal native function SetPhysMaterialOverride(PhysicalMaterial NewPhysMaterial)
UpdateDampingPropertiesfinal native function UpdateDampingProperties()
UpdateMassPropertiesfinal native function UpdateMassProperties(RB_BodySetup Setup)

Default values

BoneLinearSpring=10.0
BoneLinearDamping=0.1
BoneAngularSpring=1.0
BoneAngularDamping=0.1
CustomGravityFactor=1.0
LastEffectPlayedTime = 0.0
bEnableCollisionResponse=TRUE
ContactReportForceThreshold=-1.0f
InstanceMassScale=1.0
InstanceDampingScale=1.0

Inherited

FromMembers
Object13 properties, 308 functions