zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    算法之递归
    初读 c# IL中间语言
    sql语句转为Model
    WPF-悬浮窗(类似于360)
    call,apply
    作用域题目
    css BFC
    数组扁平化 flatten
    常见的异步题
    setTimeout、Promise、Async/Await 的区别
  • 原文地址:https://www.cnblogs.com/wubugui/p/3660338.html
Copyright © 2011-2022 走看看