第十讲模拟两团水下落的代码中,res、screen_to_world_ratio、bound分别的意义是什么?cube_size的单位是米吗?
你好@ahsjska, 欢迎来到太极论坛。
res 是你仿真的分辨率resolution的缩写
screen_to_world_ratio 是屏幕分辨率到世界坐标系之间的大小的比例
bound 是用于碰撞检测的。
cube_size 可以认为米。
第十讲模拟两团水下落的代码中,res、screen_to_world_ratio、bound分别的意义是什么?cube_size的单位是米吗?
你好@ahsjska, 欢迎来到太极论坛。
res 是你仿真的分辨率resolution的缩写
screen_to_world_ratio 是屏幕分辨率到世界坐标系之间的大小的比例
bound 是用于碰撞检测的。
cube_size 可以认为米。