Unity3D轉UE4指南

座標:web

Unity3D
  • X - left, right
  • Y - up, down
  • Z - forwards, backwards
Unreal Engine4
  • X - forwards, backwards
  • Y - left, right
  • Z - up, down

UE4 also referrers to the pivots of a rotation as: Pitch, Roll, and Yaw.函數

 

遊戲對象spa

Unity3D:GameObjectorm

UE4:Actor對象

場景與關卡:遊戲

Unity3D:Scenesci

UE4:(.umap)string

基本數據類型:it

Unity3D Unreal Engine4io

Unity3D Unreal Engine4
int int32, int24, int8
string FString
Transform FTransform
Quaternion FQuat
Rotation FRotator
Gameobject Actor
Array TArray

 

 

Instantiate and Spawning

Unity3D

Instantiate()

Unreal Engine4

UWorld->SpawnActor()

UWorld::SpawnActor() may only be used for creating instances of classes which inherit from the Actor class in their hierarchy.

 

成員函數和數據

Unity3D Unreal Engine4
Update() Tick()
transform GetActorTranform(), GetFocalLocation()
transform.position GetActorTranform().GetLocation()
transform.roation GetActorTranform().GetRotation()
transform.localScale GetActorTranform().GetScaled3D()
Destroy() Destroy()
Find() TObjectIterator<T>(), FActorIterator<T>
MathF FMath
RayCast Trace
SphereCast Sweep
相關文章
相關標籤/搜索