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
| Name | Type | Notes |
bDisableOnOverextension | bool | |
bEnableBoneSpringAngular | bool | |
bEnableBoneSpringLinear | bool | |
bEnableCollisionResponse | bool | const |
bForceUnfixed | bool | transient, private |
bInstanceAlwaysFullAnimWeight | bool | transient, private |
bMakeSpringToBaseCollisionComponent | bool | |
bNotifyOwnerOnOverextension | bool | |
BodyData | pointer | const, native |
BodyIndex | int | const |
BoneAngularDamping | float | const |
BoneAngularSpring | float | const |
BoneLinearDamping | float | const |
BoneLinearSpring | float | const |
BoneSpring | pointer | const, native |
BoneSpringKinActor | pointer | const, native |
bOnlyCollideWithPawns | bool | const |
bPushBody | bool | const |
bTeleportOnOverextension | bool | |
bUseKinActorForBoneSpring | bool | |
ContactReportForceThreshold | float | |
CustomGravityFactor | float | |
InstanceDampingScale | float | |
InstanceMassScale | float | |
LastEffectPlayedTime | float | transient |
OverextensionThreshold | float | |
OwnerComponent | PrimitiveComponent | const, transient |
PhysMaterialOverride | PhysicalMaterial | const |
PreviousVelocity | vector | |
SceneIndex | int | const, native |
Velocity | vector | |
Functions
| Name | Declaration |
EnableBoneSpring | final native function EnableBoneSpring(bool bInEnableLinear, bool bInEnableAngular, const out matrix InBoneTarget) |
EnableCollisionResponse | final native function EnableCollisionResponse(bool bEnableResponse) |
GetBodyMass | final native function float GetBodyMass() |
GetPhysicsAssetInstance | final native function PhysicsAssetInstance GetPhysicsAssetInstance() |
GetUnrealWorldAngularVelocity | final native function vector GetUnrealWorldAngularVelocity() |
GetUnrealWorldTM | final native function matrix GetUnrealWorldTM() |
GetUnrealWorldVelocity | final native function vector GetUnrealWorldVelocity() |
GetUnrealWorldVelocityAtPoint | final native function vector GetUnrealWorldVelocityAtPoint(vector Point) |
IsFixed | final native function bool IsFixed() |
IsValidBodyInstance | final native function bool IsValidBodyInstance() |
SetBlockRigidBody | final native function SetBlockRigidBody(bool bNewBlockRigidBody) |
SetBoneSpringParams | final native function SetBoneSpringParams(float InLinearSpring, float InLinearDamping, float InAngularSpring, float InAngularDamping) |
SetBoneSpringTarget | final native function SetBoneSpringTarget(const out matrix InBoneTarget, bool bTeleport) |
SetContactReportForceThreshold | final native function SetContactReportForceThreshold(FLOAT Threshold) |
SetFixed | final native function SetFixed(bool bNewFixed) |
SetPhysMaterialOverride | final native function SetPhysMaterialOverride(PhysicalMaterial NewPhysMaterial) |
UpdateDampingProperties | final native function UpdateDampingProperties() |
UpdateMassProperties | final 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
| From | Members |
| Object | 13 properties, 308 functions |