How to create different variables from a class object without repeating?

前端 未结 0 1464
傲寒
傲寒 2021-01-26 22:23

I want to use a for loop to make the code shorter. In the following code I\'m trying to create a chain of particles with same mass. Lets\' say I want to create 50 particle. &quo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题