上一页 1 2 3 4 5 6 7 ··· 40 下一页
摘要: 客户端去连接公网ip,端口为公网端口 C#测试代码如下:服务器: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using 阅读全文
posted @ 2024-08-05 17:21 porter_代码工作者 阅读(134) 评论(0) 推荐(0)
摘要: Game UI Kit https://assetstore.unity.com/zh-CN/search#q=Game%20UI%20Kit%20 适合个人开发者 UI 套件 https://github.com/m969/EGamePlay https://github.com/m969/AOG 阅读全文
posted @ 2024-07-31 13:10 porter_代码工作者 阅读(71) 评论(0) 推荐(0)
摘要: 路径包含字符特殊文件夹, 其实这个蛮搞笑的 ,从github 下载下来的包名 ET-release9.0.zip 或者 ET-release8.1.zip,解压后的文件名就是 ET-release8.1,服务器起不来,竟然包含特殊字符,搞笑不.... 阅读全文
posted @ 2024-07-26 09:51 porter_代码工作者 阅读(61) 评论(0) 推荐(0)
摘要: 总结 - **基向量**:描述局部坐标系在全局坐标系中的方向和大小。 - **变换矩阵**:由基向量组成的矩阵,用于将局部坐标转换为全局坐标。 变换矩阵的列向量就是基向量,通过将局部坐标系的基向量组合成变换矩阵,我们可以用矩阵乘法将局部坐标转换为全局坐标。这个过程的几何意义是,变换矩阵包含了描述局部 阅读全文
posted @ 2024-07-10 09:02 porter_代码工作者 阅读(96) 评论(0) 推荐(0)
摘要: 贴地运动,想要做好一款游戏,需要非常多的数学知识 https://kidscancode.org/godot_recipes/4.x/3d/3d_align_surface/index.html func align_with_y(xform, new_y): xform.basis.y = new 阅读全文
posted @ 2024-07-09 17:32 porter_代码工作者 阅读(29) 评论(0) 推荐(1)
摘要: 在 Unity 中编写控制飞机飞行的代码时,通常会关注控制飞机的横轴(Roll,滚转)和纵轴(Pitch,俯仰),而较少直接控制飞机的纵轴(Yaw,偏航)。这是因为飞行器的动态和飞行原理使得横轴和纵轴的控制更为关键。以下是详细的解释: 飞机的三轴控制 Roll(滚转,X轴旋转):控制飞机左右翻滚,影 阅读全文
posted @ 2024-06-14 13:57 porter_代码工作者 阅读(173) 评论(0) 推荐(0)
摘要: 原始代码: shader_type particles; uniform int amount : hint_range(1, 1000) = 8; uniform float max_rope_distance : hint_range(1.0, 1000.0) = 20.0; uniform f 阅读全文
posted @ 2024-05-23 11:20 porter_代码工作者 阅读(176) 评论(0) 推荐(0)
摘要: 其实要看懂godot 官方或者 第三方 写的 复杂效果的 shader 的代码,是比较难的第一: 资料比较少,塔尖上的功能,分享的人少第二: 大神 也是慢慢熬成的第三:这类需求,在一个项目种少,大部分都是类似CURD 第四:shader 的知识方向 浩瀚如海,各种理论,各种高大上的公式,就考验的定力 阅读全文
posted @ 2024-05-23 09:44 porter_代码工作者 阅读(157) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/tianjuewudi/article/details/121115480 https://zhuanlan.zhihu.com/p/678870771 https://blog.csdn.net/by99031433/article/details/12 阅读全文
posted @ 2024-05-10 14:45 porter_代码工作者 阅读(17) 评论(0) 推荐(0)
摘要: bool is_equal_approx ( float a, float b ) 如果 a 和 b 彼此近似相等,则返回 true。 这里,“近似相等”意味着 a 和 b 在彼此的一个小的内部 epsilon 内,该 epsilon 与数字的大小成比例。 相同符号的无穷大值被认为是相等的。 阅读全文
posted @ 2024-05-09 11:22 porter_代码工作者 阅读(21) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 40 下一页