Unity3D转UE4指南

坐标:

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.

 

游戏对象

Unity3D:GameObject

UE4:Actor

场景与关卡:

Unity3D:Scenes

UE4:(.umap)

基本数据类型:

Unity3D Unreal Engine4

Unity3DUnreal 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.

 

成员函数和数据

Unity3DUnreal 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
posted @ 2014-04-12 13:36  wubugui  阅读(2840)  评论(0编辑  收藏  举报