坐标2D到3D [英] Coordinates 2D to 3D

查看:86
本文介绍了坐标2D到3D的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!这是我的问题:我正在创建2d平台.我想在Farseer引擎中创建一个矩形,该矩形位于一个精灵的位置.我想将精灵坐标转换为3d空间,但我不能.我尝试使用它(但Farseer扔了 错误):

Hi all! Here is my question: I'm creating 2d-platformer. I want to create rectangle in Farseer engine which is located in one sprite's position. I want to translate sprite coords into 3d space, but I can't. I tried to use it (but Farseer threw an error):

 

推荐答案

不是远程连接到Workflow,但您可以启动搜索引擎并检查屏幕指向世界点"的算法.
Not remotely connected to Workflow, but you might fire up a search engine and check for algorithms for "Screen point to world point".


这篇关于坐标2D到3D的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆