x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

如何将UE4单位改成米

场景的坐标是cm,导致我导出的导航数据和与服务器的位置通信都很不方便,我修改了项目设置里面的Distance单位,但是发现UE4只是显示上用了米,但是在位置数值上还是以cm做单位。希望知道的可以告诉一下,如何将UE4数值都改成以米做单位。 alt text

Product Version: UE 4.11
Tags:
11.png (14.2 kB)
more ▼

asked Jul 08 '16 at 08:17 AM in C++ Programming

avatar image

yelei8363
1 5 10 10

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

我不知道是否能做这个修改。

一个 uu(unreal unit) 相当于 1 厘米,这个应该是不能改的。或者说你需要的并不是把一个 uu 改成 1米,而是在做模型的时候,就把模型按照一个 uu 为 1 厘米来做。 如果一定要将 1 个 uu 在导出数据时按照 1 米来处理的话,是不是可以在导出数据过程处做一次转换,或者在使用导出数据的数据结果上做修正。

more ▼

answered Jul 11 '16 at 06:32 AM

avatar image

TIANMIN STAFF
20 3 4 4

avatar image yelei8363 Jul 11 '16 at 07:16 AM

目前遇到的问题是,UE4的坐标系统都是以cm为单位的,而服务器导航是以m为单位的,所以客户端的导航导出到服务器后,面积被放大了100倍。而且还增加了很多客户端和服务器端的数据转换。我也想过在导出导航数据的时候进行转换,但是看了数据结构后,发现挺困难的,因为不清楚那些是和单位产生关联的数据和关联函数是什么? 所以你帮我问一下,可以吗?实在找不到资料,最好的方法肯定是修改UE4的单位

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question