中EN

UGeometryCollectionComponent API

  • DamageModel (EDamageModelTypeEnum) "Damage model to use for evaluating destruction"; DamageThreshold TArray (editable when DamageModel == UserDefined_Damage_Threshold and !bUseSizeSpecificDamageThreshold); bUseSizeSpecificDamageThreshold; bUseMaterialDamageModifiers ("use the modifiers on the material to adjust the user defined damage threshold values"); DamagePropagationData ("Data about how damage propagation should behave").
  • bEnableDamageFromCollision: "Whether or not collisions against this geometry collection will apply strain which could cause the geometry collection to fracture."
  • EnableClustering; MaxClusterLevel "Maximum level for cluster breaks"; MaxSimulatedLevel; ObjectType (EObjectStateTypeEnum) "how to initialize the rigid objects state, Kinematic, Sleeping, Dynamic".
  • RemovalOnSleep: "Allow removal on sleep for the instance if the rest collection has it enabled" (Category ChaosPhysics|Removal).
  • Functions: ApplyExternalStrain / ApplyInternalStrain (ItemIndex, Location, Radius, PropagationDepth, PropagationFactor, Strain); CrumbleCluster ("into all its pieces"); ApplyBreakingLinearVelocity; SetAnchoredByIndex / SetAnchoredByBox / SetAnchoredByTransformedBox; DispatchBreakEvent.

引用这一章的笔记

输入关键词开始搜索

滚轮或双指缩放 · 拖动平移 · 双击放大 / 还原