物理形体参考

本页参考列出了属性下 Physics and Collision 类目中的所有属性。如需了解碰撞响应或碰撞预设的参考,请查阅碰撞响应

属性

以下是按主要类目区分的物理形体(形体实例)属性。

Physics

physicsProps.png

属性

spacer.png

描述

Simulate Physics

If true, this body will use simulation. If false, will be 'fixed' (ie kinematic) and move where it is told. For a Skeletal Mesh Component, simulating requires a physics asset setup and assigned on the SkeletalMesh asset. For a Static Mesh Component, simulating requires simple collision to be setup on the StaticMesh asset.

Mass in KG

形体的质量按千克计。

Angular Damping

'Drag' force added to reduce angular movement

Linear Damping

'Drag' force added to reduce linear movement

Enable Gravity

If object should have the force of gravity applied

约束

Lock Position

When a Locked Axis Mode is selected, will lock translation on the specified axis

属性

描述

Lock X Translation

Lock translation along the X-axis

Lock Y Translation

Lock translation along the Y-axis

Lock Z Translation

Lock translation along the Z-axis

Lock Rotation

When a Locked Axis Mode is selected, will lock rotation to the specified axis

属性

描述

Lock X Rotation

Lock rotation about the X-axis

Lock Y Rotation

Lock rotation about the Y-axis

Lock Z Rotation

Lock rotation about the Z-axis

模式

Locks physical movement along specified axis.

属性

描述

Default

从项目设置继承自由度。

Six DOF

指定冻结旋转和运动所沿的轴。

YZPlane

允许沿 Y-Z 面的 2D 运动。

XZPlane

允许沿 X-Z 面的 2D 运动。

XYPlane

允许沿 X-Y 面的 2D 运动。

Custom Plane

允许沿特定法线面的 2D 运动。

None

无约束。

Advanced

physicsPropsAdv.png

属性

spacer.png

描述

Auto Weld

If true and is attached to a parent, the two bodies will be joined into a single rigid body. Physical settings like collision profile and body settings are determined by the root

Start Awake

If object should start awake, or if it should initially be sleeping

Center Of Mass Offset

User specified offset for the center of mass of this object, from the calculated location

Mass Scale

Per-instance scaling of mass

Max Angular Velocity

The maximum angular velocity for this instance

Use Async Scene

If true, this body will be put into the asynchronous physics scene. If false, it will be put into the synchronous physics scene. If the body is static, it will be placed into both scenes regardless of the value of bUseAsyncScene.

Override Max Depenetration Velocity

Whether this body instance has its own custom MaxDepenetrationVelocity

Max Depenetration Velocity

The maximum velocity used to depenetrate this object

Override Walkable Slope on Instance

Whether this instance of the object has its own custom walkable slope override setting.

Walkable Slope Override

Custom walkable slope setting for this body.

查阅 可行走斜面 文档中的使用信息。

Walkable Slope Behavior

Behavior of this surface (whether we affect the walkable slope).

Walkable Slope Angle

Override walkable slope angle (in degrees), applying the rules of the Walkable Slope Behavior. @see GetWalkableSlopeAngle(), SetWalkableSlopeAngle()

Sleep Family

The set of values used in considering when put this body to sleep.

Position Solver Iteration Count

This physics body's solver iteration count for position. Increasing this will be more CPU intensive, but better stabilized.

Velocity Solver Iteration Count

This physics body's solver iteration count for velocity. Increasing this will be more CPU intensive, but better stabilized.

Should Update Physics Volume

Whether or not the cached PhysicsVolume this component overlaps should be updated when the component is moved. @see GetPhysicsVolume()

Collision

collisionProps.png

属性

spacer.png

描述

Simulation Generates Hit Events

Should 'Hit' events fire when this object collides during physics simulation.

Phys Material Override

Allows you to override the PhysicalMaterial to use for simple collision on this body.

Generate Overlap Events

If true, this component will generate overlap events when it is overlapping other components (eg Begin Overlap). Both components (this and the other) must have this enabled for overlap events to occur.

@see Overlap Events @see UpdateOverlaps(), BeginComponentOverlap(), EndComponentOverlap()

Collision Responses

查阅 静态网格物体碰撞参考指南 文档中的详细内容。

Advanced

collisionPropsAdv.png

属性

spacer.png

描述

Use CCD

If true Continuous Collision Detection (CCD) will be used for this component

Always Create Physics State

Indicates if we'd like to create physics state all the time (for collision and simulation). If you set this to false, it still will create physics state if collision or simulation activated. This can help performance if you'd like to avoid overhead of creating physics state when triggers

Multi Body Overlap

If true, this component will generate individual overlaps for each overlapping physics body if it is a multi-body component. When false, this component will generate only one overlap, regardless of how many physics bodies it has and how many of them are overlapping another component/body. This flag has no influence on single body components.

Check Async Scene On Move

If true, this component will look for collisions on both physic scenes during movement. Only required if the asynchronous physics scene is enabled and has geometry in it, and you wish to test for collisions with objects in that scene. @see MoveComponent()

Trace Complex On Move

If true, component sweeps with this component should trace against complex collision during movement (for example, each triangle of a mesh). If false, collision will be resolved against simple collision bounds instead. @see MoveComponent()

Return Material On Move

If true, component sweeps will return the material in their hit result. @see MoveComponent(), FHitResult

Can Ever Affect Navigation

确定该组件是否对导航存在潜在影响