1. 程式人生 > >Physics Bodies(中文翻譯)—UE4官方文件

Physics Bodies(中文翻譯)—UE4官方文件

Physics Bodies Reference(物理實體參考)


注:文中紅色的部分都是我在實踐中的一些理解,建議大家參考一下

This page contains a reference listing of properties in the Physics and Collision categories of properties. If you are looking for reference on Collision Responses or Collision Presets please see: Collision Response Reference.

這頁包含一個列舉了所有物理屬性和碰撞屬性的的參考文件。如果你想檢視碰撞響應與碰撞預設請參考

Collision Response Reference.

Properties(屬性)

Below are the properties for Physics Bodies (Body Instances) separated by major category.

下面是根據主要類別展示的物理實體(實體的例項)屬性

Physics(物理的)

physicsProps.png

Property Description
Simulate Physics
模擬物理效果

If true, this body will use simulation. If false, will be 'fixed' (ie kinematic) and move where it is told.

如果勾選,則實體會開啟物理模擬。如果不勾選,實體將會固定住並且會移動到你所指定的位置。

Mass in KG
質量 KG為單位
Mass of the body in KG.
實體的質量(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.

實體物件是否啟用重力

Constraints(約束與限制)

Lock Position(鎖定位置)

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

當一個軸的鎖定開啟時,他就會在特定的軸上鎖定座標位置

Property spacer.png Description
Lock X Translation

Lock translation along the X-axis.

x軸鎖定不產生位移

Lock Y Translation

Lock translation along the Y-axis.

y軸鎖定不產生位移

Lock Z Translation

Lock translation along the Z-axis.

z軸鎖定不產生位移

Lock Rotation(鎖定旋轉)

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

當一個軸的鎖定開啟時,他就會在特定的軸上鎖定旋轉

Property spacer.png Description
Lock X Rotation

Lock rotation about the X-axis.

鎖定x軸方向的旋轉角度

Lock Y Rotation

Lock rotation about the Y-axis.

鎖定y軸方向的旋轉角度

Lock Z Rotation

Lock rotation about the Z-axis.

鎖定z軸方向的旋轉角度

Mode(模式)



這裡要特殊說明一下Custome Plane裡的三個引數X,Y,Z。

引數裡的X,Y,Z。就是平面方程ax+by+cz+d = 0的a,b,c三個引數。d的值可以由當前的座標求出來。比如,當引數X=1,Y=0,Z=0時,且該物體座標為(1,0,0)。則該平面的方程就是 x = 1,
則該物體在x =1的平面中移動。

Locks physical movement along specified axis.

根據特定的軸鎖定實體的移動

Property spacer.png Description
Default Inherits the degrees of freedom from the project settings.
繼承工程設定裡面的自由度
Six DOF Specifies which axis to freeze rotation and movement along.
指定鎖定哪一個軸的旋轉與移動(和上面的Constraints一樣
YZPlane Allows 2D movement along the Y-Z plane.
允許在Y—Z平面移動
XZPlane Allows 2D movement along the X-Z plane.
允許在X—Z平面移動
XYPlane Allows 2D movement along the X-Y plane.
允許在X—Y平面移動
Custom Plane Allows 2D movement along the plane of a given normal.
允許在使用者自定義的平面內移動
None No constraints.     無限制

Advanced

physicsPropsAdv.png

Property Description
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.

如果勾選的話,實體將會放在非同步的物理場景中。如果不勾選,他就會放到同步的物理場景。如果實體是一個靜態實體,無論bUseAsyncScene是什麼值,他都會直接被放在兩個場景

Override Max Depenetration Velocity

覆蓋最大的重疊移動速度

Whether this body instance has its own custom MaxDepenetrationVelocity.

這個實體例項是否有自己的最大重疊移開速度

(注:這裡對重疊移動速度做進一步的解釋。場景的物體可能由於開始沒有模擬物理效果,或者沒有設定碰撞。會發生重疊,一旦開啟物理碰撞,物體就會以一個加速度脫離重疊的物體。penentrate是滲透的意思,depenentrate就表示反義,脫離重疊)

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 Behavior設定為Decrease Walkable slopeWalkable Slope Angle90°,這樣任何角色都不可以在上面行走了。不過,要注意,這不代表物體不能短暫性的落在上面。)

Walkable Slope Override

重寫在該實體上可行走的坡度

Custom walkable slope setting for this body.See the  documentation for usage information.

該實體自定義的可行走坡度設定。檢視連結來獲取更多有效的資訊。

Walkable Slope Behavior

可行走的坡度行為

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

表面的行為(就是 是否影響行可走的坡度)

Walkable Slope Angle

可行走的角度

Override walkable slope, applying the rules of the Walkable Slope Behavior.

蓋可以行走的斜度,根據上個選項Walkable Slope Behavior來決定效果

Sleep Family

休眠集

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

一個決定集合,決定什麼時候讓實體靜止不動

(注:裡面有兩個選項,第一個是Normal,第二個是sensitive。Normal適合大部分情況,不過在某些弧形移動的轉折點或者鐘擺的速度非常小的地方會導致物體靜止。sensitive即使在這兩個情況下也不會停止運動。)

Position Solver Iteration Count

位置計算迭代數

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

物理實體計算位置的迭代次數。次數越多,對CPU的消耗越大,但是移動動作會越平穩

Velocity Solver Iteration Count

角度計算迭代數

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

物理實體計算角度的迭代次數。次數越多,對CPU的消耗越大,但是旋轉動作會越平穩

Should Update Physics Volume

是否更新物理體積

Whether or not the cached PhysicsVolume this component overlaps should be updated when the component is moved.

當元件移動時,重疊的快取物理體積是否被立即更新

Collision

collisionProps.png

Property Description
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.

如果勾選,這個元件就會在和其他元件重疊時生成重疊事件。但是這兩個元件必須對彼此開啟了允許重疊的開關。

Advanced

collisionPropsAdv.png

Property Description
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.

如果勾選,這個元件會在移動時在兩個物理場景檢測碰撞。只在下面所說的情況下需要,非同步場景開啟並且裡面有幾何體,而且你想要在那個場景裡測試碰撞。

(注:這個標識雖然在每個場景都存在,但是隻對身上有 movement元件的實體有效。)

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.

如果勾選,元件掃描就會在移動時跟蹤到複雜的碰撞(比如檢測到每一個三腳面)。如果不勾選,就會簡單的檢測碰撞實體的輪廓。

Return Material On Move

移動時返回材質

If true, component sweeps will return the material in their hit result.

如果勾選,元件掃描會返回他們碰撞的物體材質。

Can Ever Affect Navigation

能否影響導航
Whether this component can potentially influence navigation



這個元件是否能潛在的影響導航

相關推薦

Physics Bodies(中文翻譯)—UE4官方

Physics Bodies Reference(物理實體參考) 注:文中紅色的部分都是我在實踐中的一些理解,建議大家參考一下 This page contains a reference listing of properties in the Physics

UE4 縮小安卓打包體積(翻譯官方)

減少APK包大小 無論您的UE4專案針對哪種型別的Android裝置,將Android應用程式包(APK)的大小減小到Google Play商店的50MB限制都可能具有挑戰性。在以下指南中,我

5分鐘入門TypeScript (翻譯官方)

讓我們通過使用TypeScript來構建一個簡單的Web應用程式來入門吧   安裝 TypeScript   獲取TypeScript主要有兩種方法: 通過npm (Node.js包管理器) 通過安裝Visual Studio TypeScript外掛 Visua

MongoDB內建角色詳解(翻譯官方

1 資料庫使用者角色 每個資料庫都包含下列的角色: read : 提供讀取所有的非系統集合的能力,也能讀取以下系統集合:system.indexes,system.js,system.namespacesreadWrite:提供所有讀許可權另外還能修改非系統集合和system.js集合

UE4官方連結記錄

光線追蹤距離場:https://docs.unrealengine.com/latest/CHN/Engine/Rendering/LightingAndShadows/RayTracedDistanceFieldShadowing/index.html點選開啟連結 距離場環境遮擋:https://do

UE4官方_間接光照快取

間接光照快取 SHARE: 照亮環境 儘管Lightmass 可以生成靜態物件上的間接光照的光照貼圖,但像角色這樣的動態物件 也需要一種接收間接光照的方法。這個問題可以通過 Indirect Lighting Cache(間接光照快取)解決, 它

【資料彙編】結巴中文分詞官方和原始碼分析系列文章

作者:白寧超 2016年11月23日16:49:36 摘要:結巴中文分詞的特點如下:支援三種分詞模式:(精確模式,試圖將句子最精確地切開,適合文字分析;全模式,把句子中所有的可以成詞的詞語都掃描出來, 速度非常快,但是不能解決歧義;搜尋引擎模式,在精確模式的基礎上,對長詞再次切分,提高召回率,適合

【Android官方翻譯Android官方-Activities(一)

Activity是可以給使用者提供互動操作的程式元件,例如打電話,拍照,傳送郵件,抑或者是顯示地圖。通常視窗會填滿螢幕,但是也可以做到比螢幕小或者是懸浮在視窗頂部。 App通常由多個Activities組成,它們之間支援相互跳轉。一般情況下,每個Activit

thymeleaf官方中文翻譯(二)

2.1 為一個雜貨店搭建一個網站來演示thymeleaf(泰木力副,很多人會念錯)特性: uml破圖要先理解一下: 顧客:id,姓名,起始日期 訂單:id,日期,顧客的包裝類,訂單條目的包裝類 訂單條目: 產品,數量,價格 商品:id,名稱,價格,是否在庫,評論

第十四章 pandas官方0.22中文教程---Tutorials(lessons 3 ),個人渣翻譯

Lesson 3 建立函式,從EXCEL讀取,匯出到EXCEL - 異常值 - Lambda函式-切片和切塊資料。 import pandas as pd import numpy.random as np import matplotlib.p

Tornado官方中文翻譯(一)

Tornado是一種非同步的Python網路框架,源自FriendFeed。得利於對非阻塞的運用,Tornado可以處理數以千計的連線,非常適合需要長連線的應用程式。 傳送門 入門——HelloWorld 讓我們從一個簡單的“Hello World”例程開始:

Spark SQL 官方-中文翻譯

1 概述(Overview) Spark SQL是Spark的一個元件,用於結構化資料的計算。Spark SQL提供了一個稱為DataFrames的程式設計抽象,DataFrames可以充當分散式SQL查詢引擎。 2 DataFrames DataFrame是一個分散式的資料集合,該資料集合以命名列

Redis 3.0中文官方翻譯計劃(17) ——叢集(中)

使用redis-rb-cluster寫一個示例應用    在後面介紹如何操作Redis叢集之前,像故障轉移或者重新分片這樣的事情,我們需要建立一個示例應用,或者至少要了解簡單的Redis叢集客戶端的互動語義。     我們採用執行一個示例,同時嘗試使節點失效,或者開始重新分

第十五章 pandas官方0.22中文教程---Tutorials(lessons 4 lessons 5),個人渣翻譯

Lesson 4 –新增/刪除列-索引操作 在這節課中我們將回到基礎。我們將使用一個小的資料集,這樣您就可以很容易地理解我要解釋的內容。我們將新增列、刪除列,並以許多不同的方式分割資料。享受吧

#pragma comment 官方翻譯

一 格式 #pragma comment(comment-type [,commentstring] ) 作用 Places a comment record into an object file or executable file. 翻譯:將一個註釋記錄放入一個object檔案

PendingIntent 是個啥?官方描述的很到位。我給翻譯翻譯

部落格原文: [11月的好奇心] PendingIntent 是啥?為什麼很多場景不能直接用 Intent 非要用 PendingIntent? 出於對 PendingIntent 的好奇心,翻閱了很多資料。最後發現還是官方文件描述地到位。前三段話讀下去已經解決了我的大部分疑惑。整篇讀完有種豁然開朗的快感。

著色器shader官方翻譯

近期打算好好學習shader,期望能做出大海波浪等絢麗的效果。 官方文件的翻譯,算是我的附帶產出,增強對shader的瞭解,也是為後人參考學習提供捷徑。 ---------------------------------------------------------------------

Hibernate官方翻譯-(第二章,入門)

第二章:使用原生Hibernate API 和hbm.xml對映 (示例程式碼下載地址http://sourceforge.net/projects/hibernate/files/hibernate4/) 2.1. Hibernate configuration 檔案 資原始檔hibern

Android官方翻譯PagerAdapter

PagerAdapter public abstract class PagerAdapter extends Object (公共抽象類 繼承自object) java.lang.Object ↳ androidx.viewpager.widget.PagerAdapter

[翻譯]:Cinemachine 官方(0)

目錄 Overview : Installation and Getting Started :安裝並開始 User Guide :使用者指南 What is Cinemachine? : 什麼是Cinemachine? Cinemachine is a suite of ‘smart