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
  • 相关阅读:
    依赖注入简单解释
    设计模式
    Git 命令使用
    手机版自适应
    自定义属性的添加
    innerText Textcontent浏览器兼容代码
    获取间的内容
    密码长度为6-10的判断
    模拟输入框
    排他功能
  • 原文地址:https://www.cnblogs.com/wubugui/p/3660338.html
Copyright © 2011-2022 走看看