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
  • 相关阅读:
    博客园——程序员
    PHP获取IP
    VIM使用笔记
    再见,帕金!
    A Song of My Heart
    读书...
    纪念日...
    一路向北
    韬光养晦,希望能有所作为
    一首好歌!
  • 原文地址:https://www.cnblogs.com/wubugui/p/3660338.html
Copyright © 2011-2022 走看看