• 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
  • 相关阅读:
    优化Hibernate所鼓励的7大措施:
    Java未赋值变量的默认初始值
    年轻代
    JVM介绍
    Java锁的种类以及辨析
    java语言复制数组的四种方法
    static和final
    抽象函数抽象类
    try catch finally
    九大内置对象
  • 原文地址:https://www.cnblogs.com/wubugui/p/3660338.html
Copyright © 2020-2023  润新知