My challenge is not Swift. My challenge is the development of the 3-D svg dynamic file using Blender.
我的挑战不是快速的。我的挑战是使用Blender开发3D svg动态文件。
I have worked with Blender a small amount and its use is currently intimidating
我曾与搅拌机少量和它的使用目前是恐吓
I am developing a Game Controller activated game called Croquet Player.
我正在开发一款游戏控制器激活的游戏,名为槌球手。
The proposed game sequence is as follows:
建议的游戏顺序如下:
[1] Using Swift, the Game Controller moves the Player toward the Ball = done
[1]使用Swift,游戏控制器将玩家移动到球=完成
[2] The dynamic svg Blender file takes over and rotates the Player such that his head is always facing the Ball and moves the Mallet in such a way that the flat head of the Mallet is pointed at the Ball = not done
[2]动态SVG搅拌器文件接管并旋转球员,使他的头始终面向球,并以这样的方式移动锤子,即锤子的平头指向球=未完成
[3] When the Game Controller moves the Player such that the Mallet eventually contacts the Ball, the Swift code hits the Ball and it moves = done
[3]当游戏控制器移动玩家,使木槌最终接触到球时,斯威夫特代码击中球,它移动=完成
And the above sequence starts over: [1] move Player toward Ball, [2] rotate the Player toward the Ball as it’s moving toward the Ball, and repoint Mallet toward the Ball, [3] upon the Mallet actually contacting the Ball, hit it.
上面的顺序重新开始:[1]移动球员朝向球,[2]当球员朝向球移动时,旋转球员朝向球,并将锤子重新指向球,[3]当锤子实际接触到球时,击球。
Here is a screen shot of a sample of the Player’s & Mallet’s orientations as I just described:
以下是我刚才描述的球员和马利特的定向样本的屏幕截图:
sample orientations
样本方向
更多回答
Danny - as I explained at the top, Swift code is not my problem, but Blender is. Given that, please recommend where I can post this. I know StackOverflow has a Blender Section. FWIW, many moons ago, I have been zinged for not presenting the big picture which in this case is the Game. As soon as I delete my short Game explanation, I promise you that I will be zinged, marked down or whatever by others.
丹尼-就像我在上面解释的那样,SWIFT代码不是我的问题,但Blder才是。有鉴于此,请推荐我可以张贴这篇文章的地方。我知道StackOverflow有一个搅拌机部分。顺便说一句,很多个月前,我一直因为没有呈现大画面而备受责备,在这种情况下,这就是游戏。一旦我删除了我简短的游戏解释,我向你保证,我会被别人批评、记下分数或其他任何东西。
Found it: blender.stackexchange.com/questions/300828/… I wish to keep the above post up there in case there may be others who can provide a suggestion or two. If and only if you strongly object, feel free to delete the above yourself
找到:blender.stackexchange.com/Questions/300828/…我希望把上面的帖子放在那里,以防其他人能提供一两个建议。如果且仅当您强烈反对时,请自行删除以上内容
我是一名优秀的程序员,十分优秀!